getTokenAccountsByOwnerAtSlot
Returns every SPL Token and Token-2022 account owned by a wallet as of a specific slot. It is the historical, point-in-time version of Solana's getTokenAccountsByOwner: the same inputs, plus an optional slot to look up the past and pageKey / pageLimit to page through large wallets.
If you omit slot, the call returns the wallet's current token accounts (as of the latest available slot). Responses are always jsonParsed.
Path Parameters
docs-demoFor higher throughput, create your own API key
Request
The base58-encoded Pubkey of the wallet whose token accounts you want.
Restricts results to a single mint or a single token program. Include either mint or programId, never both. Omit to return all token accounts.
Optional point-in-time (slot) and pagination (pageKey, pageLimit) options.
Responses
200
A paginated set of the token accounts the wallet held at the requested slot, plus the slot the result was computed at and a pageKey cursor for the next page (or null on the last page).