# Proof of Reserve Onchain

> Proof of Reserve Onchain is a paid API for AI agents from 1gateway.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-21).

Checks whether a wrapped or backed token's on-chain reported reserves (via Chainlink) cover its total circulating supply, returning ratio, shortfall, staleness, and coverage status.

## Facts

- Endpoint: GET https://1gateway.dev/v1/onchain/proof-of-reserve?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/proof-of-reserve-onchain-091873e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cGjlXO9N84ewvErIvkZMu

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 proof-of-reserve-onchain-091873e7
```

Example prompt: Can you check whether WBTC's on-chain reserves actually cover its circulating supply right now — I want to see the reserve-to-supply ratio and whether the Chainlink feed is stale?

## When to prefer this

Use this endpoint when an agent needs a quick, structured on-chain reserve check for WBTC, cbBTC, TUSD, stETH, or eETH without setting up a Chainlink node or blockchain RPC connection. It is ideal for DeFi risk monitoring, pre-trade collateral verification, or alerting workflows. Prefer this over raw on-chain calls when you need feed staleness detection, multi-chain supply aggregation, and coverage ratio computation in a single payable API call. Note it reflects reported reserves, not an independent audit.

## Known failure modes

- Unsupported asset symbol returns an error or empty assets array
- Chainlink feed temporarily unavailable results in asset appearing in the 'unavailable' list
- Stale feed (ageHours > heartbeatHours) is flagged but data is still returned — agents must check the stale flag
- Reserves data reflects reported on-chain values, not a third-party audit — not a guarantee of actual backing
- Network or upstream RPC errors may cause incomplete chain-level supply breakdowns

## How this service works

Use when an agent checks whether a wrapped or backed token's reported reserves cover its supply. Input: optional asset (WBTC, cbBTC, TUSD, stETH, eETH). Output: JSON per asset Chainlink Proof of Reserve value, totalSupply by chain, ratio, reserves minus supply, below-supply flag, supply coverage (full/partial), feed age vs heartbeat, stale flag, feed page. Reported reserves, not an audit. Example: ?asset=WBTC

## Output

A JSON response containing, per queried asset: the Chainlink reserve value, total supply broken down by chain, reserve-to-supply ratio, absolute reserves-minus-supply difference, a boolean below-supply flag, supply coverage label (full/partial), the Chainlink feed's last-updated timestamp, age in hours, heartbeat threshold, stale flag, the feed's address and chain, and a link to the Chainlink feed page. Also includes response timestamp, cache info, and a list of any unavailable assets.

## 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": [],
     "properties": {
      "asset": {
       "enum": [
        "WBTC",
        "cbBTC",
        "TUSD",
        "stETH",
        "eETH"
       ],
       "type": "string",
       "description": "Only this asset (default all)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "as_of",
      "cache",
      "query",
      "assets",
      "unavailable",
      "method",
      "coverage",
      "source"
     ],
     "properties": {
      "as_of": {
       "type": "string"
      },
      "cache": {
       "type": "string"
      },
      "query": {
       "type": "object",
       "properties": {
        "asset": {
         "type": "string"
        }
       },
       "additionalProperties": true
      },
      "assets": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "feed": {
          "type": "object",
          "additionalProperties": true
         },
         "unit": {
          "type": "string"
         },
         "asset": {
          "type": "string"
         },
         "ratio": {
          "type": "number"
         },
         "supply": {
          "type": "number"
         },
         "reserves": {
          "type": "number"
         },
         "belowSupply": {
          "type": "boolean"
         },
         "supplyByChain": {
          "type": "array"
         },
         "supplyCoverage": {
          "type": "string"
         },
         "reservesMinusSupply": {
          "type": "number"
         }
        },
        "additionalProperties": true
       }
      },
      "method": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "coverage": {
       "type": "string"
      },
      "unavailable": {
       "type": "array",
       "items": {}
      }
     },
     "additionalProperties": t
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/proof-of-reserve-onchain-091873e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 1gateway.dev](https://www.zero.xyz/host/1gateway.dev/llms.txt)
