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

# Bridge

> Move assets network to network through hub-and-spoke vaults, over the Bridge API from any language or with the SDK.

Low-level transfer primitives for when you need asset movement without swap logic: spoke → hub, hub → spoke, and spoke → spoke.

Start with the HTTP API at `https://api.sodax.com/v1/bridge`: list tokens, check allowance and approve, build the bridge intent, sign and broadcast it on the source network, then hand it to `submit-tx` and poll its status. The route list lives in the [`@sodax/bridge-api` client](https://github.com/gosodax/sodax-sdks/blob/main/packages/bridge-api/src/client.ts), and [`BRIDGE_API.md`](https://github.com/gosodax/sodax-sdks/blob/main/packages/sdk/docs/BRIDGE_API.md) covers each call's request and response types. Send your [API key](https://docs.sodax.com/developers/how-to/api-keys.md) as `x-api-key` from your server.

For a TypeScript flow, follow the [bridge usage flow](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/bridge.md#usage-flow), then use the [bridge example](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/bridge.md#bridge) to submit a transfer.
Check [completion and timeouts](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/bridge.md#completion-paths-and-timeout) and [errors](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/bridge.md#error-handling) before adding retries.

## Integration reference

> [card] [Bridge API](https://github.com/gosodax/sodax-sdks/blob/main/packages/sdk/docs/BRIDGE_API.md)
>
> `/v1/bridge/*` over HTTP — tokens, allowance, build intent, submit-tx and status, from any language.

> [card] [Typed HTTP client](https://docs.sodax.com/developers/packages/foundation/bridge-api.md)
>
> `@sodax/bridge-api` — a typed TypeScript client for the same routes, without the full SDK.

> [card] [SDK method reference](https://docs.sodax.com/developers/packages/foundation/sdk/functional-modules/bridge.md)
>
> `@sodax/sdk` — `sodax.bridge` orchestrates the whole transfer.

### Next steps

> [card] [Bitcoin integration](https://docs.sodax.com/developers/how-to/bitcoin-integration.md)
>
> Use Bitcoin as a source or destination network.

> [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 chains and assets inside your AI coding agent.


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