Hyperliquid Order Book L1

A purpose-built Layer 1 blockchain running an on-chain central limit order book with sub-second finality — powered by HyperBFT consensus.

On-Chain Order Book Depth

Hyperliquid runs a fully on-chain order book where every limit order, cancellation, and match is executed inside the L1 state machine. Click anywhere on the chart to simulate placing an order.

Spread$0.12
Mid Price$1,842.06
Orders0

HyperBFT Consensus Flow

HyperBFT is a Byzantine Fault Tolerant consensus protocol optimized for low-latency order matching. It achieves finality in under 200ms through a streamlined 4-phase commit pipeline. Watch the validators reach consensus below.

Finality— ms
PhaseIdle
1. Leader Proposes Block
2. Validators Pre-Vote
3. Pre-Commit
4. Commit with Finality

Matching Engine Comparison

How does Hyperliquid's on-chain order book compare to centralized exchanges and other decentralized perps platforms?

CEX

Binance

  • MatchingOff-chain
  • Latency<5 ms
  • TPS~100,000
  • CustodyCentralized
  • VerifiabilityNone
  • Gas FeesN/A
dYdX

dYdX v4

  • MatchingOff-chain (in-memory)
  • Latency~1 s
  • TPS~500
  • CustodySelf-custody
  • VerifiabilitySettlement only
  • Gas FeesUSDC fees

Transaction Lifecycle

Follow an order from the moment a trader signs it to final on-chain settlement. Click each step or press Play to animate the full flow.

1
User Signs Order

Trader signs a typed EIP-712 message specifying asset, side, size, price, and order type. No on-chain transaction or gas approval needed.

2
Sent to Validator

The signed order is submitted to a Hyperliquid validator node via the API. The validator gossips it to the current block leader.

3
Included in Block

The leader batches pending orders into a block proposal (~every 200ms). HyperBFT consensus begins across the validator set.

4
On-Chain Matching

The L1 state machine executes the matching engine: price-time priority CLOB. If a crossing order exists, a fill occurs deterministically inside the block.

5
Settlement

Margin is transferred, positions are updated, and funding rates are applied — all within the same block execution. No separate settlement layer.

6
State Committed

The block is finalized via HyperBFT commit. The new state root is persisted. Total time from signing to finality: <400ms.

Performance Metrics

Hyperliquid's L1 is engineered for exchange-grade throughput without compromising decentralization.

0
Block Time (ms)
Blocks produced every ~200ms, enabling rapid order inclusion
0
Orders / Second
Theoretical throughput for order operations on the L1
0
Validators
Permissioned set running HyperBFT consensus
$0
Gas per Order
Hyperliquid charges zero gas fees for placing or cancelling orders
0
Finality (ms)
Single-slot finality — no reorgs, no confirmation wait
0
Perp Markets
Perpetual futures pairs available for trading on the L1