SDKs & API
One exchange contract across every surface.
The web, TypeScript SDK, Rust SDK, and MCP clients expose the same exchange actions and private account model without inventing different trading semantics.
Unified exchange actions
- Market metadata, mids, L2 book, public trades, and capability discovery.
- Place, cancel, close, withdraw, client-order IDs, margin mode, time-in-force, and ordered bundle-shaped request types.
- Durable receipts plus separate public and private finalization status.
- Private account streams for balances, positions, fills, orders, custody, and receipts.
Supported path
All supported clients call the authenticated backend API. Browser/local proving and direct client submission of trading transactions are not supported.
Complete account model
The versioned exchange contract covers modify, trigger and TP/SL, scale and TWAP, isolated margin changes, subaccounts, vaults, broader collateral, portfolio margin, and book-first backstops without changing the account model.