Methods & Playground
Get Token Accounts
Returns a list of token accounts filtered by owner address, mint address, or both. Useful for finding all token accounts associated with a wallet or all accounts holding a specific token.
Parameters
| Name | Required | Description | 
|---|---|---|
| ownerAddress | (only required if mintAddressis not provided) | Filter by owner address. | 
| mintAddress | (only required if ownerAddressis not provided) | Filter by mint address. | 
| cursor | Cursor for pagination. | |
| page | Page number for pagination. | |
| limit | Maximum number of token accounts to return. | |
| before | Return accounts before this cursor. | |
| after | Return accounts after this cursor. | |
| options | Additional display options. | 
Response
The response includes:
- token_accounts- Array of token account objects containing:- address- The token account address
- amount- Token balance in the account
- mint- The mint address of the token
- owner- The owner address of the account
- delegate- Delegate address (if any)
- delegated_amount- Amount delegated to the delegate
- frozen- Whether the account is frozen
- close_authority- Close authority address (if any)
- extensions- Token extensions data
 
- errors- Array of any errors encountered during processing
- Pagination fields: cursor,page,limit,before,after,total