ERC-20 token info on Base, Ethereum, Arbitrum or Monad: name, symbol, decimals, total supply, optional holder balance and allowance
base_token_infoUse when an agent needs an ERC-20's basics before quoting, transferring or approving it. Input: address; chain (base default, ethereum, arbitrum, monad); optional holder (balance, share of supply) and spender (allowance, flags unlimited). Output: JSON block+time, name, symbol, decimals, totalSupply, known issuer if curated. Name/symbol are self-reported. EOA or non-ERC-20: 4xx, not charged. Use instead: base_token_risk for safety signals; sol_token_info for Solana mints. Example: ?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
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": {
"address": "<address>"
},
"name": "base_token_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | EVM chain (default base) | |
| holder | No | Optional address whose token balance and share of total supply to include | |
| address | Yes | ERC-20 token contract on the chosen chain (0x + 40 hex; mixed case must be a valid EIP-55 checksum). EOA → 400, non-ERC-20 contract → 422 (not charged) | |
| spender | No | Optional spender; with holder, adds allowance(holder, spender). Needs holder. |