{"uid":"cap_bX0hmRPYkP4oAUW_NJv6S","slug":"radhikachain-htlc-vigilante-btc-timelock-safety-monitor-cdcd2f94","name":"RadhikaChain HTLC Vigilante — BTC Timelock Safety Monitor","description":"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.","url":"https://x402.radhikachain.xyz/btc/vigilante","method":"GET","headers":{},"bodySchema":{"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}}}}},"responseSchema":{"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}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"3.432","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$3.432/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"3.432","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"3.432","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rzuErZHoU1hdkOai-gy6F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"3.432","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"HTLC double-spend risk check","prompt":"I'm running a BTC–RADHA atomic swap desk — can you pull the HTLC vigilante snapshot and tell me if the receptor timelock is still correctly smaller than the emitter timelock, and whether any proposed swaps are near their block deadlines?"},{"title":"Real-time BTC swap safety dashboard","prompt":"Pull the current BTC HTLC vigilante status for me: show the current block height, how many swaps are open by state, and whether the 144-vs-288-block timelock ordering rule is holding."},{"title":"Swap desk block-window monitoring","prompt":"Our swap desk needs to know if any HTLC windows on the BTC side are approaching their limits right now — get the vigilante report and highlight anything where the emitter and receptor windows are too close or inverted."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:08.726Z","isFirstParty":false}