# Base Token Facts — ERC-20 Metadata & Proxy Detection

> Base Token Facts — ERC-20 Metadata & Proxy Detection is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-23).

Returns ERC-20 metadata, EIP-1967 and legacy OpenZeppelin proxy flags, owner_renounced status, a 30-day recently_deployed heuristic, and an optional holder balance for a given Base mainnet token contract.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base-token-facts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-facts-erc-20-metadata-proxy-detection-93bfbcf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZID209LB-KWa9TNXKDhwF

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 base-token-facts-erc-20-metadata-proxy-detection-93bfbcf4 -d '<json body>'
```

Example prompt: Look up the token facts for USDC on Base — address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — and check whether it's an upgradeable proxy, if the owner is renounced, and whether it was recently deployed. Also include the token balance for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045.

## When to prefer this

Use this endpoint when you need a single, consolidated on-chain read for a Base mainnet ERC-20 token that combines metadata (name, symbol, decimals), proxy upgrade pattern detection (EIP-1967 and legacy OpenZeppelin), owner renouncement status, a freshness heuristic, and an optional holder balance — all in one call. Prefer this over calling multiple RPC methods manually or using a general-purpose blockchain indexer when you specifically want proxy and safety signals alongside metadata for Base tokens.

## Known failure modes

- Invalid or non-checksummed token address returns a validation error
- Token address is not an ERC-20 contract on Base mainnet — returns an error or empty metadata
- Holder address is malformed — returns a validation error for the holder field
- Contract does not expose standard ERC-20 interfaces — metadata fields may be null or missing
- Payment of exactly $0.01 USDC on Base not provided — returns HTTP 402 Payment Required
- Network or RPC issues on Base mainnet cause a timeout or partial response

## How this service works

Call when an agent needs ERC-20 metadata, proxy and owner flags, a 30-day recently_deployed heuristic, and an optional holder balance for one Base token. Send token and optional holder. No LLM. Read-only. Send JSON {"token":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","holder":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}. Exact $0.01 USDC on Base. Try unpaid POST /v1/sandbox/base-token-facts first.

## Output

A JSON object containing ERC-20 metadata (name, symbol, decimals, total supply), EIP-1967 proxy detection flag, legacy OpenZeppelin proxy flag, owner_renounced boolean, a recently_deployed heuristic (true if the contract was deployed within the last 30 days), and optionally the specified holder's token balance if a holder address was provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "examples": [
    "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
   ],
   "description": "Token contract on Base mainnet. Example: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (Circle USDC, a legacy OpenZeppelin proxy). Returns metadata, EIP-1967 and legacy proxy flags, owner_renounced, and a 30-day recently_deployed heuristic. No LLM."
  },
  "holder": {
   "type": "string",
   "examples": [
    "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
   ],
   "description": "Optional wallet whose token balance is included. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045. Omit it to skip the balance read. EIP-55 or all one case."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-facts-erc-20-metadata-proxy-detection-93bfbcf4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
