HTTP Methods
getTokenAccountsByOwner
Returns all SPL Token accounts by token owner.
POST
getTokenAccountsByOwner
Documentation Index
Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
New Feature:
getTokenAccountsByOwner now supports the changedSinceSlot parameter for incremental updates. When specified, the method returns only token accounts that have been modified at or after the given slot number. This is ideal for tracking token balance changes and portfolio updates.Request Parameters
Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.
Specific Solana token mint address to retrieve only accounts for a particular token or NFT.
Specific Solana token program ID (typically SPL Token program) that created the token accounts.
The commitment level for the request.
confirmedfinalizedprocessed
The minimum slot that the request can be evaluated at.
Request a slice of the account’s data.
Number of bytes to return.
Byte offset from which to start reading.
Encoding format for Account data.
base58base64base64+zstdjsonParsed
Only return accounts that were modified at or after this slot number. Useful for incremental updates.
Authorizations
Body
application/json
The JSON-RPC protocol version.
Available options:
2.0 Example:
"2.0"
A unique identifier for the request.
Example:
"1"
The name of the RPC method to invoke.
Available options:
getTokenAccountsByOwner Example:
"getTokenAccountsByOwner"
Parameters for querying token accounts owned by a specific public key.
Solana wallet address (pubkey) of the account owner to query token holdings for, as a base-58 encoded string.
Example:
"A1TMhSGzQxMr1TboBKtgixKz1sS6REASMxPo1qsyTSJd"
Previous
getTokenAccountsByOwnerV2Enhanced version of getTokenAccountsByOwner with additional features including cursor-based pagination and changedSinceSlot support for efficiently retrieving SPL token accounts owned by a specific wallet address.
Next
getTokenAccountsByOwner