# RadhikaChain BTC Treasury & HTLC Snapshot

> RadhikaChain BTC Treasury & HTLC Snapshot is a paid API for AI agents from x402.radhikachain.xyz, paid per call via x402, $0.132/call, status unknown (last checked 2026-10-13).

Returns a snapshot of the atomic-swap desk's BTC treasury balances and open HTLC (Hash Time-Locked Contract) exposure as reported by the desk's internal books.

## Facts

- Endpoint: GET https://x402.radhikachain.xyz/treasury/btc?utm_source=zero.xyz
- Price: $0.132/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/radhikachain-btc-treasury-htlc-snapshot-8dd31d66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FBDlA0SZ9Kvsg--9VRl-K

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 radhikachain-btc-treasury-htlc-snapshot-8dd31d66
```

Example prompt: Pull the current BTC treasury snapshot from the RadhikaChain swap desk — I want to see the total BTC balance and how much is tied up in open HTLCs right now.

## When to prefer this

Use this endpoint when you need the RadhikaChain atomic swap desk's internal BTC book position — specifically treasury balances and open HTLC exposure — rather than a market price or exchange order book. Prefer this over generic blockchain explorers when you need desk-admitted exposure figures for liquidity or counterparty risk assessment before initiating an atomic swap.

## Known failure modes

- Desk is offline or RPC is not responding — endpoint may return an error or timeout
- Stale data if the desk's lock watcher has not recently synced
- Payment of $0.132 USDC required per call via x402 protocol; missing or invalid payment returns 402
- No query parameters accepted; malformed request body returns 400

## How this service works

Telemetria de cadena, inteligencia de defensa y computo verificable (Halo2, Nova, Plonky3). Pago por peticion en USDC nativo en Base (eip155:8453) mediante x402 v2 scheme exact; sin cuenta ni suscripcion. Catalogo canonico: GET /.well-known/x402.

## Output

A point-in-time snapshot from the desk's internal books containing BTC treasury balance figures and the total open HTLC (Hash Time-Locked Contract) exposure the desk currently admits. This is desk-book data, not a live exchange ticker or market price feed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": true
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "utxos": 63984,
  "altura": 114312,
  "cadena": "RadhikaChain",
  "total_en_wallets": 226315.38743139,
  "saldos_por_wallet": {
   "htlctest": 226315.38743139,
   "alice-ops": 0,
   "sovereign": null
  },
  "suministro_circulante": 4053862.5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/radhikachain-btc-treasury-htlc-snapshot-8dd31d66/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.radhikachain.xyz](https://www.zero.xyz/host/x402.radhikachain.xyz/llms.txt)
