Account Updates Stream
Pushed when account balances, TWAP orders, DCA plans, or positions (perps only) are updated.
Balances in B are updated values, not deltas: Spot uses t (including locked funds) and l (locked funds); Perps uses wb. Assets absent from an update must not be reset to zero.
Builder fee credits are reflected in the receiving builder account's balances. This channel does not attach a fee reason or trade ID to those balance values. See Fee credits and withdrawals for subscription and reconciliation guidance.
In DO, merge ACTIVE plans by i and remove CANCELLED, TERMINATED or PRUNED plans. See WsDcaOrder for fields.
Update Speed
Pushed on each block.
Subscribe Request
Subscribe Schema
See WsAccountUpdateSubscriptionParams in Schema.
interface SubscribeRequest {
op: "subscribe";
id: number | null; // Optional client originated request identifier sent as acknowledgment in the response.
params: WsAccountUpdateSubscriptionParams;
}Subscribe Ack Schema
See WsAccountUpdateSubscriptionResult in Schema.
Example: Subscribe
Example: Subscribe Ack
Unsubscribe Request
Unsubscribe Schema
See WsAccountUpdateSubscriptionParams in Schema.
Unsubscribe Ack Schema
See WsAccountUpdateSubscriptionResult in Schema.
Example: Unsubscribe
Example: Unsubscribe Ack
Update Response
Update Schema
See WsSpotAccountUpdate, WsPerpsAccountUpdate in Schema.
Example: Update
Last updated