Token Balances (Beta)
This endpoint returns SVM token balances for an address for any token that the address has interacted with
The Token Balances API provides accurate and fast real time balances of the native, SPL and SPL-2022 tokens of accounts on supported SVM blockchains. Data is typically available within 100 ms since a block was propagated to nodes. We currently support Solana and Eclipse.
- These endpoints are authenticated with a normal Dune API key.
- As we are in beta there might be changes. Please reach out to us using this form if you use this API.
- Specify
?chains=all
to fetch balances for all supported chains. - Specify
?chains=solana,eclipse
to fetch balances only for select chains. - Birdeye is used for price information
- Token metadata, such as symbols and decimals, are fetched from Birdeye using Jupiter’s list of verified tokens.
Column Descriptions
Column | Description | Type |
---|---|---|
request_time | Time of request | timestamp |
response_time | Time of response | timestamp |
wallet_address | Wallet address | string |
chain | Name of blockchain of token | string |
address | ERC20 contract address or blockchain name for native token | string |
amount | Amount of token owned in WEI | double |
symbol | Symbol of token, if avilable | string |
decimals | Decimals of token, if available | double |
price_usd | Current price of token, if available | double |
value_usd | Current value of token owned, if available | double |
Pagination
This endpoint is using cursor based pagination. You can use the limit
parameter to define the maximum page size.
Results might at times be less than the maximum page size.
The next_offset
value is passed back by the initial response and can be used to fetch the next page of results, by passing it as the offet
query parameter in the next request.
next_offset
to set the offset
parameter of the next page of results. Using your own offset
value will not have any effect.Headers
API key to access the service
Path Parameters
Wallet to get balances for
Query Parameters
Either 'all' or a comma separated list of chains to get balances for. Currently supports 'solana' and 'eclipse'
The offset to paginate through result sets. This is a cursor being passed from the previous response, only use what the backend returns here.
Maximum number of transactions to return
x > 0
Response
Was this page helpful?