TokenBalance
addressstring
Token contract address (zeroAddress for native)
Example:
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48symbolstring
Example:
USDCnamestring
Example:
USD Coindecimalsinteger
Example:
6balanceRawstring
Raw balance in smallest unit (wei)
Example:
1000000balancestring
Formatted balance as decimal string
Example:
1.0balanceUSDnumber
Balance value in USD
Example:
1TokenBalance
{
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"balanceRaw": "1000000",
"balance": "1.0",
"balanceUSD": 1
}