Skip to main content
Private channels use a Broker API Key and identify a user wallet in auth.wallet_address. Keep the API Secret local. See Broker WebSocket authentication.

Subscribe

Use the channel prefix ec. A single item can be subscribed with items, or all private updates can be selected with all: true.
Use the same payload shape with op: "unsubscribe". If the connection has been authenticated with server.sign, later subscriptions and unsubscriptions can omit auth.

ec.orders

Order state changes for the authenticated account.
WebSocket status is an uppercase upstream UI state, separate from the five lowercase REST order states. Examples include PROCESSING, OPEN, CANCELLING, MATCHED, CANCELED, and FAILED.

ec.usertrades

Trades belonging to the authenticated account.
Only confirmed account trades are delivered. Depending on configuration, matched events may also be delivered.

ec.positions

Position changes for the authenticated account.
For security and product-surface reasons, mark-price fields are not documented or exposed here.

ec.settlements

Settlement and claimability updates.
Private subscriptions are event-driven. Query the corresponding REST endpoint after reconnecting to recover the current state; a private subscription does not imply a full initial account snapshot.