Overview
With CDP API and SDKs, you can retrieve token balances for any address on supported EVM networks and Solana. This allows you to check balances for both native tokens (like ETH, SOL) and ERC-20/SPL tokens across multiple blockchain networks. The token balance APIs support querying balances for:- EVM Networks: Ethereum, Base, and Base Sepolia
- Solana Networks: Solana Mainnet and Solana Devnet
Token balance queries are read-only operations and do not require account ownership. You can check balances for any public address.
EVM Token Balances
Use thelistTokenBalances
method to retrieve token balances for any EVM address. This method returns both native tokens (like ETH) and ERC-20 tokens held by the address.
Basic Usage
Supported Networks
The EVM token balance API supports the following networks:- Mainnet:
ethereum
,base
- Testnet:
base-sepolia
Pagination
For addresses with many token balances, you can use pagination to retrieve results in manageable chunks:Solana Token Balances
Use thelistTokenBalances
method to retrieve token balances for any Solana address. This method returns both native SOL and SPL tokens held by the address.
Basic Usage
Supported Networks
The Solana token balance API supports the following networks:- Mainnet:
solana
- Devnet:
solana-devnet
Pagination
For addresses with many token balances, you can use pagination:Working with Your Own Accounts
If you want to check balances for accounts you’ve created with the CDP SDK, you can easily get the address from your account object:Response Format
The token balance response includes detailed information about each token:EVM Token Balance Response
Solana Token Balance Response
What to read next
- Managing Accounts: Learn tips and best practices for managing your accounts
- Fund Accounts: Learn how to fund your accounts with fiat currency
- API Reference: Full API reference for the v2 Server Wallet