TransactionXdr

data class TransactionXdr(val sourceAccount: MuxedAccountXdr, val fee: Uint32Xdr, val seqNum: SequenceNumberXdr, val cond: PreconditionsXdr, val memo: MemoXdr, val operations: List<OperationXdr>, val ext: TransactionExtXdr)

XDR Source: struct Transaction { // account used to run the transaction MuxedAccount sourceAccount;

// the fee the sourceAccount will pay
uint32 fee;

// sequence number to consume in the account
SequenceNumber seqNum;

// validity conditions
Preconditions cond;

Memo memo;

Operation operations;

union switch (int v)
{
case 0:
    void;
case 1:
    SorobanTransactionData sorobanData;
}
ext;

};

Constructors

Link copied to clipboard
constructor(sourceAccount: MuxedAccountXdr, fee: Uint32Xdr, seqNum: SequenceNumberXdr, cond: PreconditionsXdr, memo: MemoXdr, operations: List<OperationXdr>, ext: TransactionExtXdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

validity conditions

Link copied to clipboard
Link copied to clipboard

the fee the sourceAccount will pay

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

sequence number to consume in the account

Link copied to clipboard

account used to run the transaction

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)