For the complete documentation index, see llms.txt. This page is also available as Markdown.

Trading

SoDEX provides order-book Spot and perpetual markets with REST APIs for state and actions, plus WebSocket streams for realtime market and account events.

Trading APIs move balances that are already in a Spot or Perps account. External deposit and withdrawal are Mirror Protocol. The first trading-account credit must be USDC or SOSO (activation costs 1 unit).

Step
Path

External network → Spot or ValueChain EVM

Custody Deposits credit Spot directly. Bridge Deposits credit Spot when toClob is true, otherwise ValueChain EVM.

ValueChain → Spot or Perps

Place and track orders

Perps → Spot → ValueChain → external

Withdrawals. Trading transferAsset only reaches EVM; off-chain settlement is Mirror.

Order placement is available on Testnet and Mainnet. There is no Testnet Mirror API — the deposit/withdraw loop above is Mainnet.

Start here

QuickstartAPI Keys and NoncesAuthentication & SigningSpot TradingPerp TradingSDKs & Tools

Integration by Builder Codes

Builder Codes in Trading

API Reference

Rate LimitsREST APIWebSocket StreamsSchema

Last updated