# Tollkit Token Info – ERC-20 & SPL Token Metadata Lookup

> Tollkit Token Info – ERC-20 & SPL Token Metadata Lookup is a paid API for AI agents from extract.tollkit.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Returns the name, symbol, decimals, and total supply of an ERC-20 token on Base or Ethereum (or SPL token on Solana) given its contract/mint address, read live from the blockchain.

## Facts

- Endpoint: POST https://extract.tollkit.dev/chain/token?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollkit-token-info-erc-20-spl-token-metadata-lookup-6a059463
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nufdz_7WAugrG5z77s-NN

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tollkit-token-info-erc-20-spl-token-metadata-lookup-6a059463 -d '<json body>'
```

Example prompt: Can you look up the token name, symbol, decimals, and total supply for the contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum?

## When to prefer this

Choose this endpoint when you need authoritative, live on-chain token metadata (name, symbol, decimals, total supply) directly from the blockchain rather than from a third-party aggregator or cached database. It is ideal for verifying token identity before integrating into DeFi workflows, enriching wallet or transaction data, or resolving an unknown contract address. The pay-per-call model with no account required makes it efficient for low-volume or ad-hoc lookups. Use sibling Tollkit endpoints for token price, transaction details, or wallet balances.

## Known failure modes

- Address is not a token contract — returns an error and no charge is applied
- Invalid address format — rejected before chain read, returns validation error
- Unsupported chain specified — returns error for chains other than base/ethereum/solana
- Network/RPC timeout — chain read fails, returns a transient error
- Contract exists but doesn't implement standard ERC-20 interface — may return partial or missing fields

## How this service works

ERC-20 token info on Base or Ethereum: give a contract address, get its name, symbol, decimals and total supply, read live from the chain. $0.002 per call; an address that isn't a token is not charged.

## Output

A JSON object containing the token's on-chain name (e.g. 'USD Coin'), symbol (e.g. 'USDC'), decimals (e.g. 18), and total supply (as a raw integer or large number). If the address is not a valid token contract, the call is not charged and an appropriate error is returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "enum": [
    "base",
    "ethereum",
    "solana"
   ],
   "type": "string",
   "default": "base",
   "description": "Which chain to read: \"base\" (default), \"ethereum\" or \"solana\"."
  },
  "token": {
   "type": "string",
   "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
   "description": "ERC-20 contract, or SPL mint on Solana."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollkit-token-info-erc-20-spl-token-metadata-lookup-6a059463/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from extract.tollkit.dev](https://www.zero.xyz/host/extract.tollkit.dev/llms.txt)
