Sep06TransactionsRequest

data class Sep06TransactionsRequest(val assetCode: String, val account: String, val jwt: String, val noOlderThan: String? = null, val limit: Int? = null, val kind: String? = null, val pagingId: String? = null, val lang: String? = null)

Request to query transaction history for an account with a Stellar anchor.

Returns a list of transactions for the specified asset, with optional filtering by date, transaction kind, and pagination parameters. Only returns transactions that are deposits to or withdrawals from the anchor.

Constructors

Link copied to clipboard
constructor(assetCode: String, account: String, jwt: String, noOlderThan: String? = null, limit: Int? = null, kind: String? = null, pagingId: String? = null, lang: String? = null)

Properties

Link copied to clipboard

Stellar account (G...) or muxed account (M...) for which to retrieve transactions.

Link copied to clipboard

Code of the asset for which to retrieve transaction history.

Link copied to clipboard
val jwt: String

SEP-10 JWT token for authentication. Required to identify the account.

Link copied to clipboard
val kind: String?

Filter by transaction kind. Can be a single value ("deposit", "withdrawal") or a comma-separated list ("deposit,withdrawal,deposit-exchange,withdrawal-exchange").

Link copied to clipboard
val lang: String?

Language code (RFC 4646) for any returned messages.

Link copied to clipboard
val limit: Int?

Maximum number of transactions to return. The anchor may impose its own maximum limit.

Link copied to clipboard

ISO 8601 UTC datetime string. Only transactions started on or after this date will be returned (e.g., "2023-01-15T12:00:00Z").

Link copied to clipboard

Pagination cursor. Use the id of the last transaction from a previous response to fetch the next page.