Optimism ERC-20 token info

$0.003 per call · failed calls are never charged · no account or API key needed

Look up the name, symbol, decimals and total supply of an ERC-20 token contract on Optimism, live from the contract. Use to identify an unknown token address or to format raw amounts; for a holder's balance use op_token_balance. Input is the token's 0x contract address; an address that is not an ERC-20 contract returns 422, uncharged.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Inputs

NameTypeDescription
token (required)string0x ERC-20 token contract address

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/op/token-info?token=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/op/token-info?token=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.

Example result

{
  "chain": "Optimism",
  "chainId": 10,
  "token": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
  "name": "USD Coin",
  "symbol": "USDC",
  "decimals": 6,
  "totalSupply": "1000000000.0",
  "totalSupplyRaw": "1000000000000000"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is op_token_info, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools