Skip to main content
hypernode is the only HyperLiquid API that merges two consensus layers into one WebSocket stream. Every event arrives tagged consensus: "pre" or consensus: "confirmed" so you always know what you’re looking at.

The two layers

What each layer contains

Pre-consensus events

These are raw actions submitted by traders, intercepted from the gossip protocol before validators commit them. You see what traders are trying to do before it happens.

Confirmed events

These are the results after the validator processes the action. Every order placed on HyperLiquid produces exactly one confirmed event.

Use cases by layer

Market making: pre-consensus cancels = the book is about to change

A burst of pre-consensus cancel events on one side means a market maker is pulling quotes. The order book is about to thin out on that side. You see this 1-2 seconds before the cancels appear in the confirmed stream.
Subscribe:

Execution tracking: confirmed fills are your source of truth

Every trade that executes on HyperLiquid produces a confirmed fill event with price, size, direction, PnL, and fees. Use these for accounting, tracking, and analytics.
Subscribe: {"action": "subscribe", "filters": {"action_types": ["fill"]}}

Whale tracking: confirmed orders show exact sizes

New resting limit orders appear as confirmed order events with the full wallet address, price, and size. Filter by minimum notional to catch whale orders.
Subscribe: {"action": "subscribe", "filters": {"action_types": ["order"]}}

Liquidation detection: rejected orders signal margin stress

When a trader’s order is rejected with perpMarginRejected or reduceOnlyRejected, they’re running out of margin. A cluster of rejections on one wallet is a liquidation warning.
Subscribe: {"action": "subscribe", "filters": {"action_types": ["order"]}}
order_rejected matches when you subscribe to the umbrella type "order". To get only rejections, subscribe to "order" and filter client-side for event.type === "order_rejected".

Copy trading: follow a wallet’s confirmed fills

Subscribe to a wallet address. When you see their confirmed fills, replicate the trade.
Subscribe:

Combining both layers

The real power is using both layers together. Pre-consensus gives you early warning. Confirmed gives you ground truth.

Event volume

At ~6,500 events per second total:
  • Pre-consensus: ~1,300/sec (mostly cancels and modifies)
  • Confirmed: ~5,200/sec (orders, fills, rejections)
Use filters to narrow the stream. Subscribing to one asset or one wallet drops the volume to a manageable level.