Skip to main content

TeleSwap REST API

The TeleSwap REST API powers the protocol. The TypeScript SDK wraps it, but you can call it directly from any language.

Endpoints​

The EVM → BTC pair is available on both /api/v2 and /api/v3. See EVM → BTC for the recommended /api/v3 flow.

Estimates​

MethodPath
POST/api/v2/teleswap/utils/wrap-and-swap-estimate
POST/api/v2/teleswap/utils/swap-and-unwrap-estimate
POST/api/v3/teleswap/utils/swap-and-unwrap-estimate
POST/api/v2/teleswap/utils/swap-and-unwrap-estimate-ton
POST/api/v2/teleswap/utils/swap-and-unwrap-estimate-solana

Build transactions​

MethodPath
POST/api/v2/teleswap/utils/wrap-and-swap-unsigned
POST/api/v2/teleswap/utils/swap-and-unwrap-inputs
POST/api/v3/teleswap/utils/swap-and-unwrap-inputs
POST/api/v2/teleswap/utils/swap-and-unwrap-inputs-ton
POST/api/v2/teleswap/utils/swap-and-unwrap-inputs-solana

Requests​

MethodPath
GET/api/v2/teleswap/requests/tx/{txId}
GET/api/v2/teleswap/requests
GET/api/v1/teleswap/cross-chain/waiting-request/{address}

See the full API reference for parameters and example responses, or the Estimate → Build → Track guide for the end-to-end flow.