Recommended: JavaScript SDK with React Hooks
For new React apps, we recommend the JavaScript SDK with React Hooks (
@dynamic-labs-sdk/react-hooks) instead of the legacy React SDK documented here. The JS SDK comes with many benefits such as a much smaller bundle size and other optimizations. Use the React quickstart (JavaScript SDK) to get started.Summary
Used to fetch multichain token balances across wallets linked to the user.Restrictions
- There is a rate limit of 20 requests per IP per hour as this queries more data
- You can only have a maximum of 5 addresses per request you can retrieve
- You can only make requests for linked wallet addresses
- You can only make requests for enabled chains and networks
- There currently needs to be at least 10,000 USD in liquidity for the token to be returned. This applies to total token liquidity.
- Chain support includes 66 EVM networks, Solana Mainnet and testnet, Eclipse Mainnet and Bitcoin Ruins. You can checkout the full list here