Skip to main content
WSS
marketAddr
type:string
required

Market address (Aptos address format, e.g. 0x456...)

MarketTradesMessage
type:object

Real-time trade updates for one Decibel market address, perp or spot (not cached, updates only). Spot BTC and perp BTC are different markets with different addresses and require separate subscriptions. Each trade row carries asset_type. Spot rows use action values Buy or Sell, leave client_order_id empty, and zero realized_pnl_amount, realized_funding_amount, and fee_amount because spot has no positions/funding and per-side fee attribution is unavailable.