Skip to main content

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. Currently supported on: Ethereum, Worldchain, Shape, Zksync, Optimism, Polygon, Geist, Arbitrum, Blast, Linea, Base, Scroll, Gnosis, BNB, Avalanche, Apechain, Lens, Soneium, Rootstock, Abstract, Settlus, Ink, Solana, Bitcoin runes.
Dynamic supports fetching the top 3000 tokens by market cap.

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.
Solana support with Fiat prices (with SDK version 2.2.9)