Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

HyperLiquid indexer

The HyperLiquid database exposes raw block fills together with derived order and wallet views.

TablePurpose
raw_node_fills_by_blockFill time, wallet, coin, price, size, side, PnL, fee, TWAP, builder and liquidation context
agg_fulfilled_orderFill-level activity aggregated by fulfilled order
view_perpetual_walletCurrent perpetual wallet state
view_wallet_positionCurrent wallet positions

The raw recovery format begins with an order-level book_snapshot and continues with book_diff records. Replaying by order ID is important: a remove or partial update cannot be reconstructed reliably from aggregate price levels alone.

OnchainDivers provides access to high-precision HyperLiquid order books through raw MessagePack checkpoints and compressed order-level diff streams. This makes it possible to reconstruct the historical BTC perpetual book—including best bid, best ask, spread, live order count, and depth near the midpoint—at precise times rather than relying on coarse candles or aggregated trades.

The chart below replays that BTC futures book once per second over the exact window of a Polymarket Bitcoin five-minute market. It is generated and checked inside Docker from the configured archives, so the visualization also serves as an executable test of checkpoint selection, diff continuity, and book integrity.

High-precision HyperLiquid and Polymarket Bitcoin order books

See the complete reproducible cross-venue workflow.

Credentials and optional archive locations are supplied through .env; no deployment address is included in this site.