Skip to main content

Main SDK

The SODAX SDK provides a comprehensive interface for interacting with the SODAX protocol, enabling cross-chain swaps, money market, cross-chain bridging, migration and staking SODA token.

@sodax/sdk

Core Sodax facade, hub-and-spoke services, and intent relay.

Functional Modules inside sdk

Swaps

Quote and execute intent-based swaps across networks.

Lend / Borrow (Money Market)

Supply, borrow, withdraw, repay, and reserve data.

Leverage Yield

Deposit, withdraw, APR, and vault position data.

Bridge

Spoke to hub, hub to spoke, and spoke to spoke transfers.

Staking

Stake and unstake SODA, claim rewards, and read staking data.

Migration

Migrate ICX/wICX, legacy bnUSD, and BALN, and their reverse operations.

Tooling Modules inside sdk

Backend API

HTTP client for intent lookup, swap submission, solver orderbook, money market data, and runtime config.

Intent Relay API

Submit transactions and retrieve transaction packets across chains.