GetTransactionsResponse

public struct GetTransactionsResponse : Decodable, Sendable

Response containing an array of Soroban transaction records from RPC queries.

  • Array of transaction records from Soroban RPC.

    Declaration

    Swift

    public let transactions: [TransactionInfo]
  • The sequence number of the latest ledger known to Soroban RPC at the time it handled the request.

    Declaration

    Swift

    public let latestLedger: Int
  • The unix timestamp of the close time of the latest ledger known to Soroban RPC at the time it handled the request.

    Declaration

    Swift

    public let latestLedgerCloseTimestamp: Int
  • The sequence number of the oldest ledger ingested by Soroban RPC at the time it handled the request.

    Declaration

    Swift

    public let oldestLedger: Int
  • The unix timestamp of the close time of the oldest ledger ingested by Soroban RPC at the time it handled the request.

    Declaration

    Swift

    public let oldestLedgerCloseTimestamp: Int
  • For pagination

    Declaration

    Swift

    public let cursor: String?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws