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

# Yield

> Leveraged yield vaults as ordinary intent-based swaps — HTTP API (preview) or open-source SDK.

Enter and exit leverage-yield vault positions as ordinary intent-based swaps — no vault-specific approvals or bespoke deposit calls.

<CardGroup cols={2}>
  <Card title="HTTP API" icon="server" href="/developers/http-api/leverage">
    Vault deposit / withdraw over HTTP.
  </Card>

  <Card title="Open-source SDK" icon="code" href="/developers/packages/foundation/sdk/functional-modules/leverage_yield">
    `@sodax/sdk` — deposit, withdraw, APR, and position data.
  </Card>
</CardGroup>

### Next steps

<CardGroup cols={2}>
  <Card title="Effective APR" icon="chart-line" href="/developers/packages/foundation/sdk/functional-modules/leverage_yield_apr">
    How vault APR is calculated in the SDK.
  </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 vault and AMM data inside your AI coding agent.
  </Card>
</CardGroup>
