> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sodax.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> SODAX is mainnet-only (no testnet chains or RPC endpoints exist) with a hub-and-spoke architecture; Sonic is the hub. SODAX is non-custodial protocol/software: it routes and settles; independent solvers on the marketplace fill — never say 'our solver', 'the SODAX solver', that SODAX trades, takes custody, or fills orders. For frontend/React integrations, prefer @sodax/dapp-kit hooks over calling @sodax/sdk directly. SDK operations — the methods that build, submit or await a transaction, and the API/quote calls — return Result<T, E> ({ ok: true, value } or { ok: false, error }): check result.ok, never wrap them in try/catch or branch on error.message; discriminate on the narrow error.code union instead. Synchronous config getters (getPartnerFee, getSupportedSwapTokens, getVault, ...) return their value directly, not a Result.

# Swap

> Cross-network swaps filled by solvers — pick the HTTP API or the open-source SDK.

Quote and execute an intent across networks. Solvers on the SODAX marketplace fill it, so you don't manage liquidity or routing.

Start with [Your first swap](https://docs.sodax.com/quickstart.md) for a complete SDK flow from setup to settlement.
For an HTTP integration, follow the [create → submit-tx → poll walkthrough](https://docs.sodax.com/developers/http-api/swaps.md#bot-flow-create-submit-tx-poll).

## Integration reference

> [card] [Embeddable widget](https://docs.sodax.com/widget.md)
>
> A hosted swap in one `<iframe>`. Configure and brand it in the browser, no SDK to install.

> [card] [HTTP API](https://docs.sodax.com/developers/http-api/swaps.md)
>
> Hosted Swaps API — quote, build intent, submit-tx, and status. Any language.

> [card] [SDK method reference](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/swaps.md)
>
> `@sodax/sdk` — end-to-end `sodax.swaps` in TypeScript.

### Next steps

> [card] [Make a swap (HTTP)](https://docs.sodax.com/developers/http-api/swaps.md#bot-flow-create-submit-tx-poll)
>
> Quote, build, sign and broadcast, submit-tx, and poll status, from any language.

> [card] [Make a swap (SDK)](https://docs.sodax.com/developers/how-to/how_to_make_a_swap.md)
>
> Walkthrough: init, quote, execute, error handling.

> [card] [Compatible assets](https://docs.sodax.com/developers/deployments/swaps-compatible-assets.md)
>
> Tokens and networks supported for swaps.

> [card] [Solana swaps](https://docs.sodax.com/solana/swaps.md)
>
> Solana-specific swap setup.

> [card] [React frontend](https://docs.sodax.com/developers/packages/experience/dapp-kit.md)
>
> `@sodax/dapp-kit` hooks with wallet wiring included.

> [card] [Builders MCP](https://docs.sodax.com/builders-mcp.md)
>
> Live token lists and real quotes inside your AI coding agent.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.