Skip to main content

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 the token balances of an account on a specified network. The default behavior is to return the token balances of the primary account on the current network, but optionally the account, network, includeFiat and includeNativeBalance can be specified. Chain support includes 66 EVM networks, Solana Mainnet and Devnet, Eclipse Mainnet and Bitcoin Ruins. You can checkout the full list here
This will return all tokens with at least 10,000 USD in liquidity unless using filterSpamTokens: false in the hook parameters. This applies to total token liquidity.

Usage

With arguments

Optionally, you can pass an object with the account address and network id specified. Additionally, you can pass an array of token addresses to filter the results.
Refresh token balances after a transaction
Solana support with Fiat prices (with SDK version 2.2.9)
Last modified on June 25, 2026