> For the complete documentation index, see [llms.txt](https://docs.triton.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.triton.one/solana/rpc-methods/sending-transactions/titan/titan-swap.md).

# Titan swaps

Build and send a swap transaction from a Titan quote, using its ready-to-sign transaction or its instructions and address lookup tables.

Each Titan quote includes the individual Solana instructions needed to execute it, so you can compose the swap with your own program logic. Streamed quotes can also carry a ready-to-sign transaction built for the wallet you pass as `userPublicKey`. All routes are simulated on the same block against fresh on-chain data, so the quote reflects the real expected result rather than a theoretical best case.

## Flow

1. Get a quote: stream quotes over the Titan WebSocket (see [Titan quotes](/solana/rpc-methods/sending-transactions/titan/titan-quote.md)), or request one over REST with `GET https://<your-endpoint>.mainnet.rpcpool.com/<your-token>/titan/api/v1/quote/swap`.
2. Take the quote's ready-to-sign transaction, or build your own from its instructions and address lookup tables.
3. Sign the transaction with your wallet and send it.

For the instruction payload format and the TypeScript SDK (`@titanexchange/sdk-ts`), see the [Titan Swap API reference](https://titan-exchange.gitbook.io/titan/developer-doc/swap-api/reference).

***

<i class="fa-life-ring">:life-ring:</i> Contact support by clicking the chat icon in your [customer dashboard](https://customers.triton.one)\ <i class="fa-briefcase">:briefcase:</i> Sales questions? [Contact us](https://triton.one/contact)\ <i class="fa-sparkles">:sparkles:</i> AI agent? Read [llms.txt](https://docs.triton.one/llms.txt)\ <i class="fa-rss">:rss:</i> Follow updates: [Blog](https://blog.triton.one) · [X](https://x.com/triton_one) · [YouTube](https://www.youtube.com/@triton_one_ltd) · [Telegram](https://t.me/tritonone) · [GitHub](https://github.com/rpcpool)
