Parameter | Type | Required | Description |
---|---|---|---|
chain_name | enum | Yes | Chain name to filter events (e.g. BASE_MAINNET , ETH_MAINNET , BSC_MAINNET ) |
wallet_address | string | Yes | The wallet address to track balances for |
tokenBalancesForWalletAddress
endpoint to receive events.
Field | Type | Description |
---|---|---|
wallet_address | string | The wallet address being tracked |
chain_name | string | The chain name where the balance is being tracked |
last_block | integer | The latest block number when the balance was updated |
items | array | Array of token balance items |
balance | string | Raw token balance (unscaled) |
balance_pretty | float | Human-readable token balance (scaled by decimals) |
quote_rate_usd | float | Token exchange rate to USD |
quote_usd | float | Token balance in USD |
metadata | object | Token contract metadata |
is_native | boolean | If the token is the native token of the chain |