Skip to main content

TokenBalance

addressstring

Token contract address (zeroAddress for native)

Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
symbolstring
Example: USDC
namestring
Example: USD Coin
decimalsinteger
Example: 6
balanceRawstring

Raw balance in smallest unit (wei)

Example: 1000000
balancestring

Formatted balance as decimal string

Example: 1.0
balanceUSDnumber

Balance value in USD

Example: 1
TokenBalance
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"balanceRaw": "1000000",
"balance": "1.0",
"balanceUSD": 1
}