Don’t have an API key?
Go to console.chainbase.com to create an account and a new API key.
Supported chains by use case
When calling the Balance API, you can use the Network ID listed in the table below as the chain_id parameter. Balance API only supports EVM-compatible blockchains for now.
We will continue to add support for new blockchains. If there is a chain that you wish to support, but we do not, please let us know by reaching out to [email protected].
| Chain | Network ID | Token | NFT |
|---|---|---|---|
| Ethereum | 1 | ✅ | ✅ |
| Polygon | 137 | ✅ | ✅ |
| BNB | 56 | ✅ | ✅ |
| Avalanche | 43114 | ✅ | ✅ |
| Arbitrum | 42161 | ✅ | ✅ |
| Optimism | 10 | ✅ | ✅ |
| Base | 8453 | ✅ | ✅ |
| ZkSync | 324 | ✅ | ✅ |
| Merlin | 4200 | ✅ | ✅ |
Balance API Endpoints by use case
Token Balances
| Endpoint | What to use it for? |
|---|---|
| getAccountBalance | Get native token balance |
| getAccountTokens | Get ERC20 token balance |
NFT Balances
| Endpoint | What to use it for? |
|---|---|
| getAccountNFTs | Get NF |
