Expand description
WebSocket message types for the Coinbase Advanced Trade API.
All incoming messages share an envelope with channel, timestamp,
sequence_num, and a channel-specific events array. Outgoing
subscription messages use a flat format with type, product_ids,
channel, and jwt.
Structs§
- Coinbase
WsSubscription - Subscribe or unsubscribe request sent to the WebSocket.
- WsCandle
- A single candle from the candles channel.
- WsCandles
Event - Candles event.
- WsFcm
Balance Summary - Futures balance summary snapshot.
- WsFutures
Balance Summary Event - Futures balance summary event.
- WsHeartbeat
Event - Heartbeat event.
- WsL2
Data Event - L2 data event containing book updates.
- WsL2
Update - A single order book level update.
- WsMargin
Window Measure - Margin window summary inside a futures balance snapshot.
- WsMarket
Trades Event - Market trades event.
- WsOrder
Update - Order status update from the user channel.
- WsStatus
Event - Status channel event.
- WsStatus
Product - Status channel product snapshot.
- WsSubscriptions
Event - Subscription confirmation event.
- WsTicker
- Ticker data for a single product.
- WsTicker
Event - Ticker event.
- WsTrade
- A single trade from the market_trades channel.
- WsUser
Event - User event containing order status updates.
Enums§
- Coinbase
WsAction - WebSocket subscription action type.
- Coinbase
WsMessage - Top-level WebSocket message dispatched by channel.
- WsBook
Side - Book side in L2 data messages.
- WsEvent
Type - Event type discriminator for snapshot vs incremental update.