Swap USDT to Lightning
Follow these steps to complete a test swap from USDC (Polygon) to BTC (Lightning) First create a new clientWe only support invoices with amounts. However, you can provide an LNURL instead and we will fetch an invoice based on source or target amount.
ServerFunded. The lightning invoice will settle automatically. You can either poll or use real-time WebSocket updates:
- WebSocket (recommended)
- Polling
Build with AI
We have generated a llms-full.txt file that converts all our documentation into a single markdown document following the llmstxt.org standard. Feed it to any AI coding agent (Claude, Cursor, Copilot, etc.) and it will have everything it needs to integrate the Satora Swaps SDK into your project.Full example
Full example