HekaSwap
x402 agent swaps

HekaSwap for agents

Quote ETH to XMR, pay a small Base USDC x402 fee, and create provider deposit instructions from server-side agents, bots, wallets, and apps.

Discovery /.well-known/x402
Current route ETH -> XMR
Order access fee $0.01 Base USDC
1. Discover

Read the live manifest

Agents can discover endpoints, route caps, and current x402 payment requirements directly from HekaSwap.

GET https://www.hekaswap.com/.well-known/x402
2. Quote

Quotes are free

Use preview quotes before the final receive wallet is available, then create the order once the destination is ready.

POST /api/agent/v1/quotes
{
  "fromAsset": "ETH",
  "fromNetwork": "Ethereum",
  "toAsset": "XMR",
  "toNetwork": "Monero",
  "amount": "0.01",
  "previewOnly": true
}
3. Pay

x402 gates order creation

Order creation requires an Idempotency-Key and a valid x402 payment header. Never send private keys to HekaSwap.

POST /api/agent/v1/orders
Idempotency-Key: agent-job-001
PAYMENT-SIGNATURE: generated-by-your-x402-client
4. Track

Poll order status

The response returns provider deposit instructions. The agent only sends swap funds after it verifies those instructions.

GET /api/agent/v1/orders/{orderId}
Pilot guardrails

The pilot starts with a conservative ETH to XMR route cap. HekaSwap does not custody the swap funds, does not need an account, and does not ask agents for private keys.