Go to app

Hyperliquid's Orderbook: A Fully On-Chain CLOB

Published 11/13/2026, 4:22:48 PM

Hyperliquid's orderbook is a fully on-chain central limit order book (CLOB) that lives inside the state of its own Layer-1 blockchain (HyperCore), rather than in a private matching engine or validator memory. This is the core design difference from most other venues.

How it's structured

  • Each asset has its own order book stored in HyperCore chain state (perpetuals and spot each have their own book). Orders are added only where the price is an integer multiple of the tick size and size is an integer multiple of the lot size.
  • Orders are matched in price-time priority — best price first, then earliest timestamp at that price.
  • Every order action — placement, modification, cancellation, and fill — is a signed transaction executed inside a blockchain block, not in validator memory. This makes the matching engine verifiable and censorship-resistant, with one-block finality.

How an order flows through

  1. You place an order, which becomes a signed transaction.
  2. Validators order transactions with HyperBFT consensus (a proof-of-stake design inspired by HotStuff).
  3. HyperCore matches it on the on-chain book, checks your margin against an oracle-based mark price, and settles in the same block.
  4. A fill is a committed write to chain state — there is no separate off-chain matcher.

Key mechanics and design choices

  • Cancels-before-fills ordering: Within each block, Hyperliquid processes cancels before new orders that could fill. This protects market makers who are quoting prices from being adversely filled by a stale order in the same block.
  • Capacity: Hyperliquid's official docs state "HyperCore currently supports 200k orders / second" [Source: https://hyperliquid.gitbook.io/hyperliquid-docs/llms-full.txt/0].
  • Latency: A median order latency of ~0.2 seconds has been reported by third-party sources [Note: not independently confirmed].
  • Order types: Market, limit, stop, take, chase, scale, trailing stop, and TWAP, plus Reduce-Only, Post-Only, and TP/SL flags. Collateral is USDC-only.

How it differs from other venues

VenueBook location / matchingKey difference
HyperliquidOn-chain, in HyperCore chain stateOrderbook itself is committed to the protocol; verifiable, one-block finality
dYdX v4Short-term orders in validator memory; only fills committedHyperliquid commits the book itself, not just the fills
GMXNo order book at all; prices trades from an oracleHyperliquid has real resting depth on an order book
Centralized exchange (CEX)Single matching engine in a private, uninspectable processHyperliquid's matching is part of the protocol that validators agree on

Sourcing caveats

The official docs page is brief and points to a separate HyperCore implementation page for details; the deeper mechanics (cancels-before-fills ordering, ~0.2s latency) come primarily from third-party explainers (underhyper.com, BloFin, and the AccessDenied technical series) rather than the official docs. The core facts — on-chain CLOB, per-asset books, price-time priority, tick/lot sizing, HyperBFT ordering, and one-block finality — are consistently corroborated across the official docs and multiple independent sources.

Conclusion

Hyperliquid runs a verifiable, censorship-resistant on-chain CLOB with price-time priority and one-block finality, though the exact latency figure of ~0.2 seconds and some matching-engine details rest on secondary sources rather than official documentation.