Connection
Protocol
Client messages:subscribeunsubscribeping
- channel payloads
subscriptionResponsepongerror
Subscription Types
User-scoped
userFillsaccountSummaryuserOrderRejectionsorderUpdatesactiveAssetDatauserTransactionstwapUpdates
activeAssetData, both user and coin are enforced by the server. For the other user-scoped channels, clients should still always include user even though the current server only hard-validates activeAssetData.
twapUpdates sends an initial snapshot of the user’s active TWAPs and then incremental progress updates as execution continues.
Global
newBlocksnewTransactions
Message Examples
Subscribe:Connection Management
- Idle timeout is 60 seconds.
- Send a JSON
pingabout every 30 seconds if the client is otherwise idle. - Re-subscribe after reconnecting.
