# Orbit Chain Reads: ERC-20 Token Metadata

> Orbit Chain Reads: ERC-20 Token Metadata is a paid API for AI agents from orbit-chain.orbit-builder.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Fetches on-chain ERC-20 token metadata (name, symbol, decimals, total supply, bytecode size, optional holder balance) from Base, Ethereum, Arbitrum, Optimism, or Polygon.

## Facts

- Endpoint: GET https://orbit-chain.orbit-builder.workers.dev/v1/token?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orbit-chain-reads-erc-20-token-metadata-0b4c5626
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PKCTaVUmvqAcRypsgaLUw

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 orbit-chain-reads-erc-20-token-metadata-0b4c5626
```

Example prompt: What's the name, symbol, decimals, and total supply of the token at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum, and also tell me the balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?

## When to prefer this

Use this endpoint when you need raw, trustless on-chain ERC-20 metadata directly from the contract without any price data, risk scoring, or third-party enrichment. Ideal for verifying token identity, checking decimals before a calculation, confirming total supply, or reading a specific holder's balance across Base, Ethereum, Arbitrum, Optimism, or Polygon at very low cost ($0.001 per call).

## Known failure modes

- 404 returned for non-contract addresses (EOAs, undeployed addresses) — not charged
- Invalid or malformed contract address returns an error
- Unsupported chain name returns an error
- Network/RPC timeouts for congested chains
- Token contract that doesn't implement standard ERC-20 interface may return partial or missing fields

## How this service works

ERC-20 token metadata, $0.001 USDC per call: ERC-20 metadata read directly from the contract on Base, Ethereum, Arbitrum, Optimism or Polygon: name, symbol, decimals, total supply (raw + decimal), bytecode size, and optionally one holder's balance. Non-contract address returns 404 (not charged). Raw chain data, no price or risk opinion. No params = runs the example input.

## Output

Returns a JSON object with the token's on-chain name, symbol, decimals, raw total supply, human-readable total supply, bytecode size, and (if a holder address was provided) that holder's token balance. Returns 404 (uncharged) if the address is not a deployed contract.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default), ethereum, arbitrum, optimism, polygon"
      },
      "holder": {
       "type": "string",
       "description": "optional address to read balanceOf for"
      },
      "address": {
       "type": "string",
       "description": "token contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orbit-chain-reads-erc-20-token-metadata-0b4c5626/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orbit-chain.orbit-builder.workers.dev](https://www.zero.xyz/host/orbit-chain.orbit-builder.workers.dev/llms.txt)
