# RadhikaChain HTLC Vigilante — BTC Timelock Safety Monitor

> RadhikaChain HTLC Vigilante — BTC Timelock Safety Monitor is a paid API for AI agents from x402.radhikachain.xyz, paid per call via x402, $3.432/call, status unknown (last checked 2026-09-14).

Returns a real-time snapshot of HTLC timelock window ordering for BTC swaps, alerting when the receptor/emitter block-window relationship is unsafe or approaching its limit

## Facts

- Endpoint: GET https://x402.radhikachain.xyz/btc/vigilante
- Price: $3.432/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/radhikachain-htlc-vigilante-btc-timelock-safety-monitor-cdcd2f94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bX0hmRPYkP4oAUW_NJv6S

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-htlc-vigilante-btc-timelock-safety-monitor-cdcd2f94
```

Example prompt: Check the BTC HTLC vigilante right now and tell me whether the receptor timelock (144 blocks) is still safely below the emitter timelock (288 blocks), and flag any swaps that are approaching their window limits.

## When to prefer this

Use this endpoint when you need real-time, per-request HTLC timelock safety monitoring for BTC atomic swaps without requiring an account or subscription — paying $0.66 USDC per call via x402 on Base. Prefer this over generic BTC mempool explorers when you specifically need to validate the ordering relationship between receptor and emitter timelocks and get an automated safety verdict, especially in a swap desk or cross-chain bridge context.

## Known failure modes

- Payment not provided or insufficient USDC — x402 payment required before data is returned
- BTC node connectivity issue — block height may be stale or unavailable
- No open HTLCs — swap counts return zero with empty state breakdown
- x402 scheme mismatch — must use eip155:8453 USDC exact payment
- Rate or quota exceeded for the paying address

## 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

Returns a JSON object with: the active timelock rule (receptor 144 < emitter 288), swap counts broken down by state (proposed, etc.), the current BTC block height, the configured window sizes for emitter and receptor, the vigilante label (HTLC RADHA <-> BTC), and a human-readable explanation of why timelock ordering matters and what risk an inversion creates.

## 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": {
  "regla": "receptor 144 < emisor 288",
  "swaps": {
   "total": 3,
   "por_estado": {
    "propuesto": 3
   }
  },
  "vigilante": "HTLC RADHA <-> BTC",
  "altura_actual": 114309,
  "por_que_importa": "en un HTLC el que cobra primero debe tener el timelock MENOR; si se invierte, una parte puede quedarse con las dos patas. El vigilante comprueba esa relacion y avisa cuando una ventana se acerca a su limite",
  "ventanas_bloques": {
   "emisor": 288,
   "receptor": 144
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/radhikachain-htlc-vigilante-btc-timelock-safety-monitor-cdcd2f94/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)
