SorobanTransactionMetaXdr

data class SorobanTransactionMetaXdr(val ext: SorobanTransactionMetaExtXdr, val events: List<ContractEventXdr>, val returnValue: SCValXdr, val diagnosticEvents: List<DiagnosticEventXdr>)

XDR Source: struct SorobanTransactionMeta { SorobanTransactionMetaExt ext;

ContractEvent events<>;             // custom events populated by the
                                    // contracts themselves.
SCVal returnValue;                  // return value of the host fn invocation

// Diagnostics events that are not hashed.
// This will contain all contract and diagnostic events. Even ones
// that were emitted in a failed contract call.
DiagnosticEvent diagnosticEvents<>;

};

Constructors

Link copied to clipboard
constructor(ext: SorobanTransactionMetaExtXdr, events: List<ContractEventXdr>, returnValue: SCValXdr, diagnosticEvents: List<DiagnosticEventXdr>)

Types

Link copied to clipboard
object Companion

Properties

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

contracts themselves. return value of the host fn invocation

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)