TransactionInfo

@Serializable
data class TransactionInfo(val status: TransactionStatus, val txHash: String, val applicationOrder: Int, val feeBump: Boolean, val envelopeXdr: String, val resultXdr: String, val resultMetaXdr: String, val ledger: Long, val createdAt: Long, val diagnosticEventsXdr: List<String>? = null, val events: Events? = null)

Information about a single transaction in the response.

Constructors

Link copied to clipboard
constructor(status: TransactionStatus, txHash: String, applicationOrder: Int, feeBump: Boolean, envelopeXdr: String, resultXdr: String, resultMetaXdr: String, ledger: Long, createdAt: Long, diagnosticEventsXdr: List<String>? = null, events: Events? = null)

Properties

Link copied to clipboard

The index of the transaction among all transactions included in the ledger

Link copied to clipboard

Unix timestamp of when the transaction was included in the ledger

Link copied to clipboard

Deprecated - List of base64-encoded DiagnosticEvent XDR objects. Use events instead.

Link copied to clipboard

Base64-encoded TransactionEnvelope XDR

Link copied to clipboard

Transaction events data

Link copied to clipboard

Whether this transaction is a fee bump transaction

Link copied to clipboard

The ledger sequence number that included this transaction

Link copied to clipboard

Base64-encoded TransactionMeta XDR

Link copied to clipboard

Base64-encoded TransactionResult XDR

Link copied to clipboard

The status of the transaction (SUCCESS or FAILED)

Link copied to clipboard

The transaction hash (hex-encoded)

Functions

Link copied to clipboard

Parses the deprecated diagnosticEventsXdr field from a list of base64-encoded strings to a list of DiagnosticEvent XDR objects.

Link copied to clipboard

Parses the envelopeXdr field from a base64-encoded string to a TransactionEnvelope XDR object.

Link copied to clipboard

Parses the resultMetaXdr field from a base64-encoded string to a TransactionMeta XDR object.

Link copied to clipboard

Parses the resultXdr field from a base64-encoded string to a TransactionResult XDR object.