Events
Container for Soroban events emitted during transaction execution.
Events provide insight into smart contract execution, including transaction-level events and contract-specific events. Events are returned as base64-encoded XDR strings and can be parsed into typed XDR objects for detailed analysis.
This class is used by GetTransactionResponse and GetTransactionsResponse.TransactionInfo to encapsulate event data.
See also
Constructors
Properties
Nested list of contract events in base64-encoded XDR format. The outer list corresponds to operations in the transaction, and the inner lists contain events emitted by each operation. Contract events are explicitly emitted by smart contracts using the events SDK functions. Can be parsed using parseContractEventsXdr.
Not sent by stellar-rpc. Diagnostic events are in GetTransactionResponse.diagnosticEventsXdr and GetTransactionsResponse.TransactionInfo.diagnosticEventsXdr.
List of transaction-level events in base64-encoded XDR format. These events are associated with the transaction as a whole. Can be parsed using parseTransactionEventsXdr.
Functions
Parses the contractEventsXdr field from a nested list of base64-encoded XDR strings to a nested list of typed ContractEvent objects.
Parses the diagnosticEventsXdr field from a list of base64-encoded XDR strings to a list of typed DiagnosticEvent objects.
Parses the transactionEventsXdr field from a list of base64-encoded XDR strings to a list of typed TransactionEvent objects.