GetTransactionsResponse

@Serializable
data class GetTransactionsResponse(val transactions: List<GetTransactionsResponse.TransactionInfo>, val latestLedger: Long, val latestLedgerCloseTimestamp: Long, val oldestLedger: Long, val oldestLedgerCloseTimestamp: Long, val cursor: String)

Response for JSON-RPC method getTransactions.

Returns a detailed list of transactions starting from the specified ledger. This method allows for paginated retrieval of transaction data.

See also

Constructors

Link copied to clipboard
constructor(transactions: List<GetTransactionsResponse.TransactionInfo>, latestLedger: Long, latestLedgerCloseTimestamp: Long, oldestLedger: Long, oldestLedgerCloseTimestamp: Long, cursor: String)

Types

Link copied to clipboard
@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.

Properties

Link copied to clipboard

Cursor value to be used for subsequent requests for more transactions

Link copied to clipboard

The latest ledger known to Soroban RPC at the time it handled the request

Link copied to clipboard

Unix timestamp of when the latest ledger was closed

Link copied to clipboard

The oldest ledger retained by Soroban RPC

Link copied to clipboard

Unix timestamp of when the oldest ledger was closed

Link copied to clipboard

List of transaction information objects