# RadhikaChain Atomic Swap Creator (RADH↔BTC)

> RadhikaChain Atomic Swap Creator (RADH↔BTC) is a paid API for AI agents from x402.radhikatmosphere.com, paid per call via x402, $13.728/call, status unknown (last checked 2026-09-15).

Returns the current atomic swap market state and instructions for creating a trustless RADH↔BTC cross-chain swap on RadhikaChain using SHA-256 hash time-locked contracts.

## Facts

- Endpoint: GET https://x402.radhikatmosphere.com/swap/crear
- Price: $13.728/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/radhikachain-atomic-swap-creator-radh-btc-18652bd5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MVoaHaDQy27uGYyD4WGy8

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-atomic-swap-creator-radh-btc-18652bd5
```

Example prompt: Show me the current atomic swap market on RadhikaChain — I want to see what RADH↔BTC offers are open right now and how the hash time-lock mechanism works so I can do a trustless swap without any custodian.

## When to prefer this

Use this endpoint when you need a real-time snapshot of the RadhikaChain RADH↔BTC atomic swap market, want to understand the HTLC mechanism used, or are building a workflow that checks liquidity before initiating a cross-chain trustless swap. Prefer this over centralized exchange APIs when custodian-free, permissionless operation is required and the user wants to swap RADH specifically.

## Known failure modes

- Payment not included or invalid USDC payment on Base (eip155:8453) → 402 Payment Required
- No open offers in the market → empty offers array with zeros
- Endpoint unavailable or server error → 5xx response with no market data
- Malformed x402 payment header → authentication/payment rejection

## 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 JSON object containing the current atomic swap market state: list of open offers, count of open offers, total RADH locked, the product name ('Atomic Swap RADH <-> BTC'), a flag confirming non-custodial operation, a plain-language explanation of the SHA-256 HTLC mechanism, on-chain verification status, and a note on why no third-party permission is needed.

## 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": {
  "mercado": {
   "ofertas": [],
   "ofertas_abiertas": 0,
   "radha_bloqueado_total": 0
  },
  "producto": "Atomic Swap RADH <-> BTC",
  "sin_custodia": true,
  "como_funciona": "el mismo hash SHA-256 bloquea fondos en las dos cadenas; quien cobra revela la preimagen y la otra parte la lee on-chain para cobrar al otro lado",
  "verificado_en_cadena": false,
  "por_que_no_necesita_permiso": "RadhikaChain es Bitcoin Core con genesis propio: comparte los opcodes (bip65/CLTV, bip66, csv, segwit activos desde el bloque 1) aunque no la historia. Bitcoin no necesita saber que existe"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/radhikachain-atomic-swap-creator-radh-btc-18652bd5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.radhikatmosphere.com](https://www.zero.xyz/host/x402.radhikatmosphere.com/llms.txt)
