{"uid":"cap_cHQW5LspHS0sPUnimUuTo","slug":"radhikachain-btc-vigilante-htlc-timelock-guard-0f08bec2","name":"RadhikaChain BTC Vigilante — HTLC Timelock Guard","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.radhikatmosphere.com/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_uaPpa6pbHJkpbbDoZcpeG","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 live HTLC timelock vigilance data for BTC cross-chain swaps, flagging when receiver/emitter block-window ordering could allow double-spend theft.","exampleAgentPrompt":"Check the BTC HTLC vigilante right now — I need to know if any of the pending atomic swaps have an unsafe timelock ordering where the receptor window isn't smaller than the emitter window, and what the current block height is.","exampleUseCases":[{"title":"Atomic swap timelock safety check","prompt":"I'm about to finalize a BTC cross-chain swap — can you pull the HTLC vigilante data and tell me if the timelock rule is safe, meaning the receptor block window is smaller than the emitter's?"},{"title":"Real-time HTLC double-spend risk alert","prompt":"Keep an eye on the BTC HTLC vigilante and let me know immediately if any swap window is approaching its block limit and the timelock ordering could allow someone to claim both legs."},{"title":"Pending swap state audit","prompt":"Give me a breakdown of all current HTLC swaps by state — how many are proposed, and is the 144-block receptor vs 288-block emitter rule holding for all of them right now?"}],"resultDescription":"Returns a JSON object with: the vigilante rule string (e.g. 'receptor 144 < emisor 288'), current BTC block height, total swap count and counts by state (proposed/claimed/etc.), a plain-language explanation of why the timelock ordering matters for HTLC safety, and the configured block window sizes for emitter and receptor.","failureModes":["Payment not included or malformed x402 USDC header → 402 Payment Required","BTC node temporarily unreachable → 503 or delayed stale data","Block height data lag if chain is experiencing slow blocks","No swaps in flight → swap counts will be zero but endpoint still responds","Invalid request headers → 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need real-time HTLC timelock vigilance specifically for BTC atomic swaps, particularly to detect unsafe receptor/emitter ordering that could enable double-spend. Prefer it over generic block explorers when you need cross-chain swap-aware safety logic rather than raw chain data, and when pay-per-call USDC micropayment via x402 is acceptable instead of a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:12.504Z","isFirstParty":false}