Returns the balance of a specific ERC20 token for a given user address.
Documentation Index
Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
arbitrum, base, ethereum The user to get the token balance of.
The symbol or address of the token for which the balance is checked. A token identifier - either a supported symbol (e.g., USDC, WETH) or a valid Ethereum address (0x...)
"USDC"
"WETH"
"0xA0b86a33E6441ccF30EE5DdEF1E9b652C91ac1c8"
Successful Response
Response model for token balance information.
Amount of tokens a particular address holds
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$1.5
Number of decimals of the token
18
Symbol of the token
Address of the token
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"