SorobanTransactionDataXdr

data class SorobanTransactionDataXdr(val ext: SorobanTransactionDataExtXdr, val resources: SorobanResourcesXdr, val resourceFee: Int64Xdr)

XDR Source: struct SorobanTransactionData { union switch (int v) { case 0: void; case 1: SorobanResourcesExtV0 resourceExt; } ext; SorobanResources resources; // Amount of the transaction fee allocated to the Soroban resource fees. // The fraction of resourceFee corresponding to resources specified // above is not refundable (i.e. fees for instructions, ledger I/O), as // well as fees for the transaction size. // The remaining part of the fee is refundable and the charged value is // based on the actual consumption of refundable resources (events, ledger // rent bumps). // The inclusionFee used for prioritization of the transaction is defined // as tx.fee - resourceFee. int64 resourceFee; };

Constructors

Link copied to clipboard
constructor(ext: SorobanTransactionDataExtXdr, resources: SorobanResourcesXdr, resourceFee: Int64Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Amount of the transaction fee allocated to the Soroban resource fees. The fraction of resourceFee corresponding to resources specified above is not refundable (i.e. fees for instructions, ledger I/O), as well as fees for the transaction size. The remaining part of the fee is refundable and the charged value is based on the actual consumption of refundable resources (events, ledger rent bumps). The inclusionFee used for prioritization of the transaction is defined as tx.fee - resourceFee.

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)
Link copied to clipboard

Encodes this XDR object to a base64 string.