TransactionEvents

public struct TransactionEvents : Decodable, Sendable

Container for the transaction and contract events of a Soroban transaction in XDR format.

  • XDR-encoded diagnostic events from the diagnosticEventsXdr key of the events object.

    Declaration

    Swift

    @available(*, deprecated, message: "stellar-rpc does not send this field; read diagnosticEventsXdr of GetTransactionResponse or TransactionInfo.")
    public var diagnosticEventsXdr: [String]? { get }
  • XDR-encoded transaction events emitted during execution.

    Declaration

    Swift

    public let transactionEventsXdr: [String]?
  • XDR-encoded contract events grouped by operation index.

    Declaration

    Swift

    public let contractEventsXdr: [[String]]?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws