# Soren ERC-20 Total Supply Reader

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

Fetches the total supply, symbol, decimals, and formatted amount for any ERC-20 token contract live from Base mainnet, charged per successful read via x402.

## Facts

- Endpoint: GET https://soren.com/v1/chain/supply
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/soren-erc-20-total-supply-reader-bd5a645e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7cE8UeNXpG-zwZwbNk-c5

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 soren-erc-20-total-supply-reader-bd5a645e
```

Example prompt: What's the current total supply of the USDC token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base mainnet — give me the symbol, decimals, and formatted amount?

## When to prefer this

Choose this endpoint when you need a lightweight, no-account, pay-per-read lookup of ERC-20 supply data directly from Base mainnet. It is ideal for agents that occasionally need live on-chain token metadata without maintaining RPC infrastructure or API keys. Prefer the attested /v1/oracle/onchain endpoint instead if you need a cryptographically signed proof of the supply value.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or found:false
- Contract address on a different chain (not Base mainnet) will not resolve correctly
- Payment not fulfilled results in no charge and no data returned
- Network congestion may cause delayed block reads
- Zero-supply or paused tokens may return unexpected zero values

## How this service works

Read an ERC-20 total supply with symbol, decimals and a formatted amount, live from Base mainnet, for a fraction of a cent. No API key, no account — a wallet is the only requirement, and you are charged only if the read succeeds. Plain unsigned data; the attested version of chain reads is /v1/oracle/onchain. Answers are read at the moment of the call and stamped with the block they came from where applicable.

## Output

Returns the token symbol, number of decimals, raw total supply (as a big integer string), and a human-formatted supply amount, along with the block number the data was read from on Base mainnet.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "examples": [
        "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
       ],
       "description": "The ERC-20 contract address."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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