Skip to main content
Index price (also named as Oracle Price) is the network’s estimate of what an asset is worth on outside markets. It anchors mark price and is the reference for funding. It updates every 3 seconds, is certified inside consensus, and uses no input from this venue’s own order book. Index price (also named as Oracle price) is the network’s estimate of what an asset is worth on outside markets. Nothing fills at the index. It anchors mark price and is the reference for funding. It updates every 3 seconds, is certified inside consensus, and uses no input from this venue’s own book.

From venue quotes to one number

Normalize and convert the quote currency
Clamp every source to the median ± a band
Weight by volume, spread and stability
Cap the weight any one venue can carry
Index price
So the median that follows is taken over comparable numbers
Set per market on-chain. Fallbacks: major crypto 1% · stablecoins 0.5% · others 3%
Stability compares recent volume against a longer run, so a sudden burst on one venue cannot buy influence
45% for the three largest venues, 35% for others, however good their quotes look
An input, not an execution price — nothing fills at the index
Exchange feeds in, one number out
What the step removes
Clamping rather than discarding: discarding lets an attacker shrink the sample by pushing one venue away, which raises the weight of everything left.
Normalize. Each source contributes its best bid and ask. USDT quotes are converted to USDC (and dropped if no conversion rate is available), so the median that follows compares like with like. Clamp outliers. A median is computed across all sources, then every source is pulled to within a band around it. Each market’s band is set on-chain (deviation_threshold_ppm); a market without one uses these fallbacks: Outliers are clamped, not discarded, so pushing one venue away cannot shrink the sample and raise the weight of the rest. Weight by quality. Sources are combined by weighted mean on:
  • Volume: more real turnover, more weight.
  • Spread: a tighter book counts for more.
  • Stability: recent volume against a longer-run average, so a sudden burst on one venue does not buy influence.
Cap per venue. No venue can exceed a maximum weight, however well it scores: 45% for Binance, OKX and Bybit, 35% for others. Pyth, where used, carries a fixed 5%. Moving the index meaningfully therefore takes moving several independent venues at the same time, at their real depth, and holding them there.

When a source misbehaves

When a source’s weight goes to zero, the remaining weights scale up proportionally, so the index does not gap when one venue disconnects.

Update cadence and staleness

The index a transaction settles against was certified by the same validator quorum that committed the transaction (see Oracle). A validator does not submit a stale reading. If a market’s index is more than 15 seconds old, the market goes reduce-only until it recovers. Funding stops sampling once the index is more than 10 seconds old.

Index price and mark price

These defenses bound how far a single source can move the index. In a market-wide dislocation, or a coordinated move across several major venues, the index moves with the market. See Risk disclosures.