Avalanche token info, ERC-20
avax_token_infoLook up the name, symbol, decimals and total supply of an ERC-20 token contract on Avalanche, live from the contract. Use to identify an unknown token address or to format raw amounts; for a holder's balance use avax_token_balance. Input is the ticker USDC or the token's 0x contract address; an address that is not an ERC-20 contract returns 422, uncharged. Example: token=0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>"
},
"name": "avax_token_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token: the ticker USDC, or the 0x ERC-20 contract address |