getTokenAccounts
POST
/{apiKey}
Returns token accounts based on the specified filters.
Path Parameters
stringrequireddefaults to
docs-demoFor higher throughput, create your own API key
Request
stringoptional
The mint address to filter token accounts by.
stringoptional
The owner address to filter token accounts by.
stringoptional
The program ID to filter accounts by.
enumoptional
The level of commitment desired for the query.
Configures the state commitment for querying.
Allowed values:
integeroptional
The minimum slot that the request can be evaluated at.
objectoptional
Limit the returned account data.
enumoptional
Encoding format for account data.
Encoding format for data.
Allowed values:
integeroptionaldefaults to
100The maximum number of token accounts to retrieve.
stringoptional
Cursor for pagination.
Responses
200
Returns token accounts matching the specified criteria.
Was this page helpful?