Get token balances for an account
Returns the token balances for a specific account address on a given chain.
Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the environment
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"95b11417-f18f-457f-8804-68e361f9164f"
ETH, EVM, FLOW, SOL, ALGO, STARK, COSMOS, BTC, ECLIPSE, SUI, SPARK, TRON, APTOS, TON, STELLAR, ALEO, TEMPO, MIDNIGHT Query Parameters
Valid Eth, Solana, Btc, Sui, Flow, Cosmos, TRON, TON, and Stellar wallet addresses
^(0x[a-fA-F0-9]{40}|[1-9A-HJ-NP-Za-km-z]{32,44}|(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,70}|0x[a-fA-F0-9]{64}|0x[a-fA-F0-9]{16}|[a-z0-9]{3,16}1[02-9ac-hj-np-z]{38,60}|T[A-Za-z1-9]{33}|[0-9A-Za-z_-]{48}|G[A-Z2-7]{55})$If false, the balance requests will not be filtered for spam tokens
Contracts to not filter out in the response
If true, the balance requests will be refreshed within rate limits
Response
List of token balances
Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
255^[A-Za-z0-9_-]{18,100}$"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Display name of the token
Ticker symbol of the token
Number of decimal places the token supports
URL of the token logo image
Human-readable token balance adjusted for decimals
Raw token balance in the smallest unit, as a number. WARNING: loses precision above 2^53 (~9.007e15). For 18-decimal tokens this is every realistic balance over ~0.009 of one unit. Use rawBalanceString for any precision-sensitive use case (exact-amount validation against on-chain state, swap fromAmount, transfer amounts). Retained for backwards compatibility.
Raw token balance in the smallest unit, as a decimal string. Precision-safe for any token amount. Use BigInt(rawBalanceString) for math, or pass directly to APIs that accept string-encoded amounts (LI.FI, viem, ethers, etc.).
Network identifier where the token balance resides
Current price per token in USD
Total market value of the balance in USD
Size of the token's liquidity pool in USD
Total circulating supply of the token
Whether this is the chain's native token