> ## 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.

<CardGroup cols={2}>
  <Card title="HTTP API" icon="server" href="/developers/http-api/swaps">
    Hosted Swaps API — quote, build intent, submit-tx, and status. Any language.
  </Card>

  <Card title="Open-source SDK" icon="code" href="/developers/packages/foundation/sdk/functional-modules/swaps">
    `@sodax/sdk` — end-to-end `sodax.swaps` in TypeScript.
  </Card>
</CardGroup>

### Next steps

<CardGroup cols={2}>
  <Card title="Make a swap (SDK)" icon="repeat" href="/developers/how-to/how_to_make_a_swap">
    Walkthrough: init, quote, execute, error handling.
  </Card>

  <Card title="Compatible assets" icon="coins" href="/developers/deployments/swaps-compatible-assets">
    Tokens and networks supported for swaps.
  </Card>

  <Card title="Solana swaps" icon="sun" href="/solana/swaps">
    Solana-specific swap setup.
  </Card>

  <Card title="React frontend" icon="react" href="/developers/packages/experience/dapp-kit">
    `@sodax/dapp-kit` hooks with wallet wiring included.
  </Card>

  <Card title="Builders MCP" icon="plug" href="/builders-mcp">
    Live token lists and real quotes inside your AI coding agent.
  </Card>
</CardGroup>
