# OneSource TSR Supply Ledger History

> OneSource TSR Supply Ledger History is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Returns time-series history of The Standard Reserve (TSR) on-chain token supply metrics on Robinhood Chain, including minted, burned, and circulating amounts per block.

## Facts

- Endpoint: GET https://api.onesource.io/standard/v1/supply/history?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onesource-tsr-supply-ledger-history-439fe528
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2ERtgEJXfBbW-Q_3JSGPX

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 onesource-tsr-supply-ledger-history-439fe528
```

Example prompt: Pull the TSR supply ledger history from The Standard Reserve on Robinhood Chain for the last 48 hours — I want to see how circulating supply, cumulative mints, and burns have changed block by block.

## When to prefer this

Use this endpoint when you need time-series supply data for The Standard Reserve (TSR) token on Robinhood Chain — specifically when you want historical mint/burn/circulating trends rather than a single current snapshot. Prefer this over generic blockchain RPC endpoints when you need pre-aggregated, per-block supply accounting with breakdown by burn category (fees, buybacks, licenses).

## Known failure modes

- Invalid or missing 'hours' parameter (must be integer >= 1) returns a 400 error
- No data available for the requested time window returns an empty history array
- Chain node lag or sync issues may cause stale as-of-block data, indicated by elevated lag_blocks
- Payment failure (x402) if USDC balance is insufficient returns 402 Payment Required
- Serving state may indicate degraded mode if the underlying Robinhood Chain node is behind

## How this service works

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. Supply ledger history. Fields ending in _raw are 18-decimal integers as strings. Divide by 1e18 to get token amounts.

## Output

An array of time-stamped supply snapshots, each containing block number, timestamp, circulating supply, cumulative minted, cumulative burned (total and split by fees/buybacks/licenses), and max supply — all in raw on-chain units — plus metadata like chain ID, lag blocks, as-of block, serving state, and the denomination basis.

## 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": {
      "hours": {
       "type": "integer",
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "basis": {
       "type": "string"
      },
      "history": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "ts": {
          "type": "string"
         },
         "basis": {
          "type": "string"
         },
         "block": {
          "type": "integer"
         },
         "burned_cum_raw": {
          "type": "string"
         },
         "max_supply_raw": {
          "type": "string"
         },
         "minted_cum_raw": {
          "type": "string"
         },
         "circulating_raw": {
          "type": "string"
         },
         "deposited_cum_raw": {
          "type": "string"
         },
         "burned_fees_cum_raw": {
          "type": "string"
         },
         "burned_forever_cum_raw": {
          "type": "string"
         },
         "ledger_retired_cum_raw": {
          "type": "string"
         },
         "burned_buybacks_cum_raw": {
          "type": "string"
         },
         "burned_licenses_cum_raw": {
          "type": "string"
         }
        }
       }
      },
      "network": {
       "type": "string"
      },
      "chain_id": {
       "type": "integer"
      },
      "lag_blocks": {
       "type": "integer"
      },
      "as_of_block": {
       "type": "integer"
      },
      "serving_state": {
       "type": "string"
      }
     },
     "description": "Endpoint-specific response payload"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "basis": "supply_history",
  "history": [
   {
    "ts": "2026-09-14T12:00:00Z",
    "basis": "measured",
    "block": 63400000,
    "burned_cum_raw": "858000000000000000000000",
    "max_supply_raw": "10000000000000000000000000",
    "minted_cum_raw": "5060000000000000000000000",
    "circulating_raw": "4198000000000000000000000",
    "burned_fees_cum_raw": "61000000000000000000000",
    "burned_buybacks_cum_raw": "299000000000000000000000",
    "burned_licenses_cum_raw": "498000000000000000000000"
   }
  ],
  "network": "robinhood",
  "chain_id": 4663,
  "lag_blocks": 4,
  "as_of_block": 63499000,
  "serving_state": "fresh"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-tsr-supply-ledger-history-439fe528/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.onesource.io](https://www.zero.xyz/host/api.onesource.io/llms.txt)
