ERC-20 token details by contract address
token_infoRead an ERC-20's name, symbol, decimals and total supply straight from the contract on the chain you name, and confirm the address actually has code there. Use before quoting an amount or building a transfer: getting decimals wrong is the classic way to send 1,000,000x the intended value. An address with no code, or a contract that is not an ERC-20, is reported as such and is NOT charged. Costs $0.005 USDC per call via x402 on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ethereum, base, arbitrum, optimism or polygon. Defaults to base. | |
| address | Yes | 0x-prefixed 20-byte contract address. |