Skip to content

Oracle

The Role of Oracles

Oracles bridge the gap between off-chain markets and on-chain execution by delivering real-world price data to the protocol. For a perpetual futures exchange, this data is foundational and the oracle price is the reference point that much of the protocol is built on top of. Without a fast and reliable oracle, the protocol cannot accurately price positions, settle funding, or protect against insolvency.

High Speed Oracle

The primary oracle for the CLOB is Pyth Lazer, a millisecond-latency oracle designed for high-frequency on-chain applications. Unlike Pyth's traditional pull-based model, Lazer delivers price updates over a persistent WebSocket connection optimized for fast verification and minimal on-chain footprint.

This allows the CLOB to operate with extremely low-latency and accurate price updates. Oracle speed is a cornerstone of the protocol: because the matching engine, funding rate, mark price, and risk engine all depend on accurate reference prices, stale or slow oracle data directly translates into mispriced trades, delayed liquidations, and funding rate drift. Pyth Lazer streams updates at millisecond latency, and Blink's sub-millisecond on-chain delivery of those updates ensures the on-chain price tracks spot markets closely enough to support aggressive leverage tiers, tight spreads, and CEX-like performance.