Skip to main content
POST
getTokenAccounts

Request Parameters

string
The mint address key.
string
The owner address key.
number
The page of results to return.
number
The maximum number of assets to return.
string
The cursor used for pagination.
string
Returns results before the specified cursor.
string
Returns results after the specified cursor.
object
boolean
If true, show accounts with empty token balances.

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0
required

The version of the JSON-RPC protocol.

Available options:
2.0
id
string
default:1
required

An ID to identify the request.

Example:

"1"

method
enum<string>
default:getTokenAccounts
required

The name of the method to invoke.

Available options:
getTokenAccounts
params
object
required

Response

Successful response

last_indexed_slot
integer

All data up to and including this slot is guaranteed to have been indexed.

Example:

365750752

total
integer

The number of results found for the request.

Example:

2

limit
integer

The maximum number of results requested.

Example:

100

cursor
string

The cursor used for pagination.

token_accounts
object[]

An array of token accounts.