ERC-20 token metadata
evm_token_metadata[FREE: 25 calls/day, then $0.002 USDC per call via x402] Name, symbol, decimals and total supply of an ERC-20 read from its contract at one block. Handles tokens whose name/symbol are bytes32. If decimals() is missing, it is an error: decimals are never assumed.
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": {
"chain": "<chain>",
"token": "<token>"
},
"name": "evm_token_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | "latest" (default), "safe", "finalized", or a decimal block number. Every value in the answer is read at this one block | |
| chain | Yes | EVM CAIP-2 chain id such as eip155:8453, or a bare chain id number as a string. Chain names are refused. | |
| token | Yes | 0x + 40 hex digits (EIP-55 checksum enforced when mixed-case) |