# Ink ERC-20 Token Info

> Ink ERC-20 Token Info is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Fetches the name, symbol, decimals, and total supply of an ERC-20 token contract on the Ink blockchain, live from the contract.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/ink/token-info?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-ink-erc-20-token-info-637b6e8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Dmfw4-Hsc71ZORzRBPjSQ

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 agent-data-tools-revmesh2074-workers-dev-ink-erc-20-token-info-637b6e8c
```

Example prompt: What's the name, symbol, and total supply of USDC on the Ink blockchain — and how many decimals does it use?

## When to prefer this

Use this endpoint when you need to identify or get metadata for an ERC-20 token specifically on the Ink chain — whether you have a ticker symbol or a raw 0x contract address. Prefer this over generic multi-chain token lookup tools when the user explicitly mentions Ink or when the contract address is known to be on Ink. For a token holder's balance, use the companion ink_token_balance endpoint instead.

## Known failure modes

- Address is not an ERC-20 contract: returns HTTP 422, no charge
- Unknown ticker with no mapping: likely 422 or empty result
- Network or RPC node timeout: may return 5xx error
- Malformed token input (invalid address format): 422 or validation error

## How this service works

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

## Output

Returns a JSON object containing the token's human-readable name, symbol, number of decimals, total supply (formatted and raw), the chain name, chain ID, and the resolved token contract address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string",
   "description": "Token: a ticker such as USDC or WETH, or the 0x ERC-20 contract address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string"
  },
  "chain": {
   "type": "string"
  },
  "token": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "decimals": {
   "type": "number"
  },
  "totalSupply": {
   "type": "string"
  },
  "totalSupplyRaw": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-ink-erc-20-token-info-637b6e8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
