Skip to main content

Recommended: JavaScript SDK for React Native

While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
Token balances are provided by Zerion and supported across 35+ EVM networks (including Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, zkSync Era, Linea, Scroll, Gnosis, Apechain, Lens Chain, Soneium, Abstract, and Ink) plus Solana.Dynamic supports fetching the top 3000 tokens by market cap.
You can fetch token balances across multiple blockchain networks using the getMultichainBalances method on the Dynamic client. This returns balances for all tokens held at the specified addresses, including prices and metadata.

Usage

Full example with React Query

This example shows how to fetch and display token balances for a wallet using @tanstack/react-query:

Parameters

For BTC (served separately from Zerion), pass a single network ID matching the network the address belongs to: 1 for mainnet, 2 for testnet, or 3 for signet. Only the first network ID is used for a BTC balance lookup, and a mismatch returns an empty balance set. Testnet and signet share the same address format, so pass the ID for the network you intend to query.

Response

Returns an array of chain balance objects. Each object contains the chain, wallet address, and an array of networks with their token balances:
Last modified on September 25, 2026