SorobanResourcesXdr

data class SorobanResourcesXdr(val footprint: LedgerFootprintXdr, val instructions: Uint32Xdr, val diskReadBytes: Uint32Xdr, val writeBytes: Uint32Xdr)

XDR Source: struct SorobanResources { // The ledger footprint of the transaction. LedgerFootprint footprint; // The maximum number of instructions this transaction can use uint32 instructions;

// The maximum number of bytes this transaction can read from disk backed entries
uint32 diskReadBytes;
// The maximum number of bytes this transaction can write to ledger
uint32 writeBytes;

};

Constructors

Link copied to clipboard
constructor(footprint: LedgerFootprintXdr, instructions: Uint32Xdr, diskReadBytes: Uint32Xdr, writeBytes: Uint32Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The maximum number of bytes this transaction can read from disk backed entries

Link copied to clipboard

The ledger footprint of the transaction.

Link copied to clipboard

The maximum number of instructions this transaction can use

Link copied to clipboard

The maximum number of bytes this transaction can write to ledger

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)