In a tutorial published on November 19, 2026, the author describes a Quicknode-based example for monitoring a Hyperliquid HIP-3 builder-deployed perpetual market. It is a monitoring example, not a trading system.
The example first uses perpDexs and metaAndAssetCtxs to find and validate the target market. It then subscribes to full L2 order-book snapshots through StreamL2Book and calculates the bid–ask spread and the deviation between the mark and oracle prices. Its reported states are WAITING, OK, ALERT, STALE, DISCONNECTED and UNKNOWN.
The tutorial also describes context polling every 10 seconds, 5-second and 25-second expiry checks, and reconnection with exponential backoff capped at 30 seconds. An authentication failure stops the example rather than triggering another reconnect attempt.
How to read the result: OK does not establish that the underlying oracle source is current or that a trade would execute safely. The tutorial also cautions that the receiving system’s clock needs to be synchronized and that gRPC streaming incurs charges.
