# Saylor Innovations Data Desk – ERC-20/ERC-721 Total Supply

> Saylor Innovations Data Desk – ERC-20/ERC-721 Total Supply is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns the total supply of any ERC-20 token or ERC-721 NFT contract on 16 EVM chains, raw and decimal-scaled, with symbol, name, and decimals.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/chain/total-supply?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-erc-20-erc-721-total-supply-61296b0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gu7XDFovhZrp5zsE2X3au

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 saylor-innovations-data-desk-erc-20-erc-721-total-supply-61296b0b
```

Example prompt: What's the total supply of USDC (contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) on Ethereum — give me both the raw amount and the human-readable number?

## When to prefer this

Use this endpoint when you need the total supply of any ERC-20 token or ERC-721 NFT collection on any of 16 supported EVM chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, Avalanche, Gnosis, Linea, Scroll, Mantle, Blast, Sonic, Celo, Berachain, Unichain). It is especially useful when you need both raw and decimal-normalized supply in a single call, or when you want the token's name and symbol resolved in the same request. Prefer this over general blockchain RPC calls when you want a clean, normalized JSON response without managing chain-specific RPC connections.

## Known failure modes

- Invalid or unsupported chain name/ID returns an error
- Contract address not found or not an ERC-20/ERC-721 on the specified chain
- RPC node unavailability for a specific chain causing lookup failure
- Decimals unknown for some tokens resulting in null total_supply (only raw returned)
- Rate limiting or payment failure (x402) if USDC payment is not processed
- Malformed contract address (non-checksummed or wrong length)

## How this service works

Total supply of an ERC-20 or ERC-721 contract on 16 EVM chains, raw and scaled by decimals, with symbol and name from totalSupply.

## Output

A JSON object containing the chain name and chain ID, the token contract address, the raw total supply in smallest units (total_supply_raw), the decimal-scaled human-readable supply (total_supply), the token symbol, name, decimals (null for NFTs), and a source field indicating where the data was read from, plus a note explaining how to interpret the supply figures.

## 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",
     "required": [
      "chain",
      "token"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"
      },
      "token": {
       "type": "string",
       "description": "the token or NFT contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "chain",
      "chain_id",
      "token",
      "total_supply_raw",
      "source"
     ],
     "properties": {
      "name": {
       "type": [
        "string",
        "null"
       ],
       "description": "token name"
      },
      "note": {
       "type": "string",
       "description": "how to read the supply"
      },
      "chain": {
       "type": "string",
       "description": "the chain name that was queried"
      },
      "token": {
       "type": "string",
       "description": "the token or NFT contract"
      },
      "source": {
       "type": "string",
       "description": "where the data was read from"
      },
      "symbol": {
       "type": [
        "string",
        "null"
       ],
       "description": "token symbol"
      },
      "chain_id": {
       "type": "number",
       "description": "EIP-155 chain id of that network"
      },
      "decimals": {
       "type": [
        "number",
        "null"
       ],
       "description": "token decimals, null for NFTs"
      },
      "total_supply": {
       "type": [
        "string",
        "null"
       ],
       "description": "supply divided by 10^decimals, null when decimals are unknown"
      },
      "total_supply_raw": {
       "type": "string",
       "description": "supply in the smallest unit"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-erc-20-erc-721-total-supply-61296b0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
