# ERC-20 Total Supply

> ERC-20 Total Supply is a paid API for AI agents from aizamon.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-20).

Returns the totalSupply of a Base-chain ERC-20 token with raw units, decimals, and human-readable decimal amount, plus a signed Ed25519 receipt.

## Facts

- Endpoint: GET https://aizamon.com/x402/v1/supply?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-20-total-supply-5ddff535
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BSKlRTbuNnCr2U6VDerK8

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 erc-20-total-supply-5ddff535
```

Example prompt: What's the total supply of USDC on Base right now? I want the raw units, the decimals, and the human-readable amount, and I'd like a signed receipt I can verify.

## When to prefer this

Choose this endpoint when you need trustworthy, signed on-chain ERC-20 totalSupply data specifically on the Base network, with cryptographic receipts for auditability. It is ideal when you need both raw and decimal-adjusted supply figures in one call, and when verifiability of the returned data matters. Prefer it over general blockchain RPC calls when you want a simple HTTP API with a signed proof rather than direct node interaction.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error
- Contract not deployed on Base chain causes lookup failure
- Omitting ?token= defaults to USDC; passing an unsupported token may return an error
- Network or RPC issues on Base may cause timeouts
- Payment not fulfilled returns 402 Payment Required

## How this service works

ERC-20 total supply. Get the totalSupply of one Base ERC-20, with raw units, decimals, and the decimal amount. Omit ?token= for USDC. $0.003 USDC. Included in the hour pass. Includes a signed Base fact you can check with the published receipt key. Includes a signed Ed25519 receipt you can check with the published key.

## Output

Returns a JSON object with the token's totalSupply in raw units, the number of decimals, and the decimal-adjusted (human-readable) supply amount. Also includes a signed Base fact and a signed Ed25519 receipt verifiable against the provider's published key.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "token": {
       "type": "string",
       "description": "ERC-20 contract. Omit for Base USDC."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "sku": {
       "type": "string"
      },
      "result": {
       "type": "object"
      },
      "protocol": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-20-total-supply-5ddff535/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aizamon.com](https://www.zero.xyz/host/aizamon.com/llms.txt)
