# Tokenpost — ERC-20 Token Metadata

> Tokenpost — ERC-20 Token Metadata is a paid API for AI agents from oraclepost.higgsfield.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Returns live ERC-20 token metadata (name, symbol, decimals, total supply) from a Base contract address via direct eth_call, no cache.

## Facts

- Endpoint: GET https://oraclepost.higgsfield.app/api/token
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenpost-erc-20-token-metadata-11b7703d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c83OL5DhRgbMqjefphx0U

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 tokenpost-erc-20-token-metadata-11b7703d
```

Example prompt: What are the name, symbol, decimals, and total supply for the ERC-20 token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Base?

## When to prefer this

Choose this endpoint when you need fresh, trustless ERC-20 token metadata directly from the Base blockchain with no intermediary or cached data. Ideal when you need to verify token details for an unknown contract address, build a token list, or enrich DeFi data pipelines with live on-chain metadata.

## Known failure modes

- Invalid or malformed contract address returns an error
- Address is not an ERC-20 contract (e.g. EOA or non-standard contract) may return empty/zero values
- Contract does not implement standard ERC-20 metadata functions (name, symbol, decimals) causes call failure
- Network or RPC issues on Base may cause timeout or error

## How this service works

ERC-20 token metadata on Base, read live from the contract: name, symbol, decimals and total supply. Pass ?token=0x… (the token contract address). One eth_call set, no third-party API, no cache.

## Output

Returns the on-chain ERC-20 token metadata: the token's human-readable name, ticker symbol, decimal precision, and total supply — all read live from the contract via eth_call on Base with no caching or third-party data sources.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "ERC-20 contract address on Base, 0x-prefixed"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenpost-erc-20-token-metadata-11b7703d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oraclepost.higgsfield.app](https://www.zero.xyz/host/oraclepost.higgsfield.app/llms.txt)
