# OneSource TSR SBills Current State

> OneSource TSR SBills Current State is a paid API for AI agents from api.onesource.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-21).

Returns the live state of The Standard Reserve (TSR) SBills contract on Robinhood Chain, including caps, rates, exit parameters, escrow totals, and serving status.

## Facts

- Endpoint: GET https://api.onesource.io/standard/v1/sbills/current?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onesource-tsr-sbills-current-state-e563d9a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VVQQe3-beDg-WPc_hMxUk

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-sbills-current-state-e563d9a6
```

Example prompt: What's the current live state of the TSR SBills contract on Robinhood Chain — give me the rate, how many bills are open, the total principal, and whether it's paused or drifting?

## When to prefer this

Use this endpoint when you need a single authoritative snapshot of the entire TSR SBills contract state on Robinhood Chain — including rates, caps, exit parameters, escrow, and operational health — without needing to query multiple on-chain functions. Prefer this over raw RPC calls when you want structured, pre-decoded data with metadata like serving_state and drift flags. Ideal for monitoring agents, DeFi dashboards, or pre-deposit checks.

## Known failure modes

- Contract data temporarily unavailable due to RPC node lag or chain reorg — returns stale or error state
- rate_live_error field populated when live rate cannot be fetched from the chain
- Network timeout if Robinhood Chain RPC is degraded
- 402 Payment Required if payment via x402/MPP is not attached or insufficient
- Unexpected empty or malformed JSON if the contract address is misconfigured

## How this service works

Three data families for AI agents: live Ethereum mainnet, Sepolia testnet, and Robinhood Chain RPC reads, plus Deepstate on-chain market data (order books, trades, candles, and analytics), plus The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain (supply, policy, epochs, auctions, branches, vaults, exit pressure). Pay per call or use batch/session mode: USDC on Base via x402, or pathUSD/USDC.e on Tempo via MPP. No API key required to start; a flat-rate monthly subscription is also available.

## Output

A JSON object containing the full live state of the TSR SBills contract: timestamp, capacity caps (total, wallet, min deposit), exit parameters (exit cap bps, floor bps, daily exit history, window days), live and snapshot rates (basis, term seconds, rate per term in WAD), operational flags (paused, closed, drifting), bill counts (open, next ID), budget and escrow totals (raw), contract balance, bonus pool, drift rate per second, floor/ceiling rate bounds, block and config match flags, and serving state string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-10-02T03:00:00Z",
  "caps": {
   "total_cap_raw": "30000000000000000000000000",
   "wallet_cap_raw": "1000000000000000000000000",
   "min_deposit_raw": "1000000000000000000000"
  },
  "exit": {
   "exit_cap_bps": 1500,
   "exited_daily": [
    {
     "day": 20728,
     "exited_raw": "0"
    }
   ],
   "exit_floor_bps": 200,
   "exit_window_days": 7
  },
  "basis": "measured",
  "owner": "0x5977b25419f9c0ddcb2f89fe204955622f4f57ea",
  "closed": false,
  "paused": false,
  "network": "robinhood",
  "chain_id": 4663,
  "contract": "0x163b36fd07622486cb889feef97bfbe2c1d7c05b",
  "drifting": true,
  "rate_live": {
   "source": "SBills.currentRate",
   "rate_basis": "per_term",
   "term_seconds": 1296000,
   "rate_per_term_wad": "14700000000000000"
  },
  "bills_open": 58,
  "budget_raw": "300000000000000000000000",
  "lag_blocks": 0,
  "as_of_block": 78100000,
  "next_bill_id": "59",
  "rate_snapshot": {
   "rate_basis": "per_term",
   "term_seconds": 1296000,
   "rate_per_term_wad": "14700000000000000"
  },
  "serving_state": "fresh",
  "bonus_pool_raw": "0",
  "rate_live_error": null,
  "rate_updated_at": "2026-10-02T02:58:00Z",
  "impact_scale_raw": "2000000000000000000000000",
  "total_escrow_raw": "200000000000000000000000",
  "floor_per_term_wad": "10000000000000000",
  "total_principal_raw": "5000000000000000000000000",
  "ceiling_per_term_wad": "70000000000000000",
  "contract_balance_raw": "5300000000000000000000000",
  "drift_per_second_wad": "231000000000",
  "locked_principal_raw": "5000000000000000000000000",
  "token_matches_config": true,
  "bonus_per_principal_wad": "0",
  "registry_matches_config": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onesource-tsr-sbills-current-state-e563d9a6/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)
