The official Rust SDK is an API-key client for Polyester ConnectRPC APIs and Centrifugo WebSocket Protobuf streams. It is built for trading bots, automated execution, and backend automation, not browser wallet login.
Rust is async-only (Tokio). All unary and stream APIs are .await.
What you can build
- Market data: overview, candles, order books, public trades, heatmap, chain analytics
- Trading: spot orders (including batch / cancel-all), attached risk, standalone triggers
- Accounts: balances (funding vs trading), subaccounts, policies, API keys, profile
- Funding: deposit addresses, trading withdraws, internal transfers, lifecycle, Zipper config
- On-chain helpers: Funding โ Trading and Funding โ external via the
chainmodule - Realtime: public and private streams with fail-closed overflow behavior
Intentionally not in this SDK
Wallet login, session MFA enrollment/challenges, and account resolve/lookup require interactive JWT/session flows. Use the TypeScript SDK for those. SBE and FIX are separate transports, see the connectivity matrix.
Resources
- Rust SDK repository
- Runnable examples
- SDK capability matrix
- Ed25519 API keys
- Public Protobuf contracts