Skip to main content
This guide is about buying BTC using USDT and receive it via Lightning.

Swap USDT to Lightning

Follow these steps to complete a test swap from USDC (Polygon) to BTC (Lightning) First create a new client
You can find all available tokens to swap like this. For this example, we look for the token details for USDC on Polygon.
Afterward we can create the swap request:
We only support invoices with amounts. However, you can provide an LNURL instead and we will fetch an invoice based on source or target amount.
Next, create the swap by funding the contract.
Wait for the status to become ServerFunded. The lightning invoice will settle automatically. You can either poll or use real-time WebSocket updates:

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.