To monitor a Hyperliquid HIP-3 market such as xyz:NVDA, the tutorial published on November 18, 2026, at 22:26 (UTC+8) outlines a TypeScript process using Quicknode’s StreamL2Book and metaAndAssetCtxs interfaces. It tracks the best bid and ask alongside the mark and oracle prices.
The process calculates the bid–ask spread and the difference between mark and oracle prices, then reports threshold-based states including OK, ALERT, STALE, and DISCONNECTED. The tutorial covers environment setup, market selection, subscriptions, thresholds, reconnection after a disconnect, and stale-data handling.
One distinction matters when interpreting the result: successfully reading market context does not establish that the upstream oracle data is fresh.
