Get the TS-SDK
Your First Swap
Follow these steps to complete a test swap from Bitcoin (Lightning) to USDC (Polygon). First create a new clientServerFunded, then claim your tokens. You can either poll or use real-time WebSocket updates:
- WebSocket (recommended)
- Polling
Gasless on all chains: Claiming is gasless on Polygon, Ethereum, and Arbitrum via EIP-712 signatures.
A small gas fee is deducted from the swap amount depending on network conditions.
Alternatively, you can claim manually with your own signer and pay gas yourself.
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