swap_create
Preview or create a BTC swap between Lightning or Arkade and USDC or USDT0 on Arbitrum, or Lightning↔Arkade. Shows fees in a quote; set confirm to execute with real funds.
Instructions
Swap BTC through Satora: Lightning or Arkade into USDC or USDT0 on Arbitrum, or Lightning ↔ Arkade. Fees are shown in the quote (Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee). REAL MONEY on mainnet. Without confirm: preview only. With confirm: creates the swap and returns what to pay once (a Lightning invoice, an Ark address + exact sats, or both for the rail). After paying a Lightning- or Arkade-to-stablecoin swap, or a Lightning-to-Arkade swap, call swap_claim with wait=true. After paying an Arkade-to-Lightning swap, call swap_status (or swap_claim with wait=true) to wait for Satora to pay the invoice; there is nothing for you to claim. Non-custodial: the claim key stays in this Mark home
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swap_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | stablecoin on Arbitrum (default usdc), or lightning/arkade for a Lightning ↔ Arkade swap | |
| from | No | where the BTC comes from (default lightning) | |
| sats | No | sats to send (required for BTC → stablecoin and Lightning → Arkade; omit when an invoice pins an Arkade → Lightning payout) | |
| address | No | payout destination: 0x on Arbitrum (to a stablecoin) or an Ark address on https://arkade.computer (to arkade) | |
| confirm | No | must be true to create the real swap; omit to preview | |
| invoice | No | from arkade to lightning: a BOLT11 invoice with an amount |