Skip to main content

Subscribe

Send a subscribe message to start receiving events:
Response:

Subscribe with custom ID

Give your subscription a name for easier management:

Multiple subscriptions

You can have multiple active subscriptions on one connection. Each gets its own ID:
An event matching multiple subscriptions is sent once (deduplicated per connection).

Unsubscribe

Ping/pong

The server sends WebSocket ping frames every 30 seconds. Most libraries handle this automatically. You can also send application-level pings:
Response:

Common subscription patterns

Everything (firehose):
~6,500 events/sec on mainnet. Both pre-consensus and confirmed. Orders and fills only (recommended for most users):
~200 events/sec. Every order placement and trade execution. Track a specific wallet:
Only events from this address. Works across all asset types. BTC only:
All event types but only for Bitcoin. Pre-consensus signals:
Cancel and modify actions before they are committed. Arrives ~1 second early. Confirmed orders only (no noise):
The "order" umbrella matches: order, order_filled, order_canceled, order_rejected. New resting orders have type order with data.status: "open". Prediction markets:
Track a specific outcome token.

Subscription limits

Exceeding your subscription limit returns an error:

HyperEVM transactions

Subscribe to pre-block HyperEVM smart contract transactions using the evmRawTx action type:
Events arrive with consensus: "pre" and a data field containing the raw RLP-encoded signed transaction as a hex string. See Event Types for the full decoding example.