Skip to main content
Queries token transactions with filters and cursor-based pagination for the SparkWallet.

Method Signature

Parameters

Request constraints are combined using an AND relation by the underlying API.
string[]
Array of Spark addresses to filter by
string[]
Array of issuer public keys to filter by
string[]
Array of Bech32m token identifiers to filter by
string[]
Array of output IDs to filter by
number
Page size (defaults to 50)
string
Cursor returned from a previous response (pageResponse.nextCursor or pageResponse.previousCursor)
"NEXT" | "PREVIOUS"
Pagination direction (defaults to "NEXT")

Returns

QueryTokenTransactionsResponse
required
Token transactions response object
TokenTransactionWithStatus[]
required
Matching token transactions for the requested page
PageResponse
Pagination metadata including nextCursor / previousCursor

Newest-first activity

This method uses cursor pagination and returns each page in ascending order. The default NEXT direction starts at the oldest page. For a newest-first feed, start with PREVIOUS and no cursor, reverse the page for display, and use previousCursor to load older pages. Keep the filters and page size unchanged between requests.

Forward pagination example