LedgerCloseMetaV2Xdr

data class LedgerCloseMetaV2Xdr(val ext: LedgerCloseMetaExtXdr, val ledgerHeader: LedgerHeaderHistoryEntryXdr, val txSet: GeneralizedTransactionSetXdr, val txProcessing: List<TransactionResultMetaV1Xdr>, val upgradesProcessing: List<UpgradeEntryMetaXdr>, val scpInfo: List<SCPHistoryEntryXdr>, val totalByteSizeOfLiveSorobanState: Uint64Xdr, val evictedKeys: List<LedgerKeyXdr>)

XDR Source: struct LedgerCloseMetaV2 { LedgerCloseMetaExt ext;

LedgerHeaderHistoryEntry ledgerHeader;

GeneralizedTransactionSet txSet;

// NB: transactions are sorted in apply order here
// fees for all transactions are processed first
// followed by applying transactions
TransactionResultMetaV1 txProcessing<>;

// upgrades are applied last
UpgradeEntryMeta upgradesProcessing<>;

// other misc information attached to the ledger close
SCPHistoryEntry scpInfo<>;

// Size in bytes of live Soroban state, to support downstream
// systems calculating storage fees correctly.
uint64 totalByteSizeOfLiveSorobanState;

// TTL and data/code keys that have been evicted at this ledger.
LedgerKey evictedKeys<>;

};

Constructors

Link copied to clipboard
constructor(ext: LedgerCloseMetaExtXdr, ledgerHeader: LedgerHeaderHistoryEntryXdr, txSet: GeneralizedTransactionSetXdr, txProcessing: List<TransactionResultMetaV1Xdr>, upgradesProcessing: List<UpgradeEntryMetaXdr>, scpInfo: List<SCPHistoryEntryXdr>, totalByteSizeOfLiveSorobanState: Uint64Xdr, evictedKeys: List<LedgerKeyXdr>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Size in bytes of live Soroban state, to support downstream systems calculating storage fees correctly.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)