Skip to main content
Enter and exit leverage-yield vault positions as ordinary intent-based swaps — no vault-specific approvals or bespoke deposit calls. Both integration paths are live on production: the @sodax/sdk leverage yield module, and the HTTP API at https://api.sodax.com/v1/leverage-yield. For a step-by-step walkthrough of either, see Integrate Leverage Yield. For an SDK integration, start with the deposit and withdraw flows. Review vault risks, completion, and errors before integrating.

Integration reference

HTTP API

Vault deposit / withdraw over HTTP.

SDK method reference

@sodax/sdk — deposit, withdraw, APR, and position data.

Next steps

Effective APR

How vault APR is calculated in the SDK.

React frontend

@sodax/dapp-kit hooks with wallet wiring included.

Build it with an AI agent

The @sodax/skills leverage-yield skills teach your agent the vault flows.