# chain-token-total-supply

> chain-token-total-supply is a paid API for AI agents from chain.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Returns the live total supply of any ERC-20 token (with decimals applied) across Base, Ethereum, Arbitrum, Optimism, Polygon, and BSC.

## Facts

- Endpoint: GET https://chain.intel.rallylive.ca/chain/total-supply?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-token-total-supply-751f2c3e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7VCuNvwnG3Muaoakrvn1C

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 chain-token-total-supply-751f2c3e
```

Example prompt: What's the current total supply of the token at contract address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — give me the decimal-adjusted figure.

## When to prefer this

Use this endpoint when you need a real-time, decimal-adjusted total supply figure for any ERC-20 token across major EVM chains (Base, Ethereum, Arbitrum, Optimism, Polygon, BSC). Prefer it over general block explorers when you need programmatic, agent-callable access to supply data without scraping. It's well-suited for DeFi due diligence, tokenomics monitoring, and cross-chain supply comparisons.

## Known failure modes

- Invalid or non-existent contract address returns an error or zero supply
- Unsupported chain prefix causes a bad request error
- Token contract exists but has no standard totalSupply function (non-standard ERC-20) may return null or error
- Network congestion or RPC issues may cause timeouts
- Missing required input parameter causes request failure

## How this service works

Live total supply of an ERC-20 token, decimals applied. Default chain Base; prefix another: ethereum:, arbitrum:, optimism:, polygon:, bsc:. $0.01 per call.

## Output

A decimal-adjusted numeric value representing the current total supply of the specified ERC-20 token on the requested chain, reflecting on-chain state at the time of the query.

## 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",
     "properties": {}
    }
   },
   "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/chain-token-total-supply-751f2c3e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chain.intel.rallylive.ca](https://www.zero.xyz/host/chain.intel.rallylive.ca/llms.txt)
