Documentation
Protocol

Oracle-free pricing

Prices come from HyperCore itself, with manipulation resistance built in.

Instead of relying on external price oracle providers, Aethr retrieves market data directly from HyperCore. The price engine reads:

  • Current asset prices
  • Best bid and ask
  • Bid-ask spreads
  • Order book depth
  • Available market liquidity
  • Estimated execution prices
  • Market volatility

#The reference price

A native order book is not assumed to be manipulation-proof. Aethr's reference price is the median of three HyperCore sources:

  1. the spot mid price,
  2. the time-weighted spot mid,
  3. the HyperCore perp oracle.

A spoofed spot book moves one of them; a real move moves two. When spot disagrees with the others, the confirming sources are re-read immediately so a genuine repricing is followed within one polling tick.

#Safeguards

FlagTriggered when
STALEData is older than the freshness bound
THINBid depth within 2% of mid is below the market's minimum
WIDE_SPREADThe spread exceeds the market's maximum
DEVIATIONMid, reference or perp oracle disagree beyond the allowed band

A flagged asset is frozen for new borrowing. On-chain, the HyperCoreRiskFeed enforces a staleness bound, a per-report price clamp and a window limit, and a guardian can freeze any market.

#Try it

bash
curl https://aethr-api.vercel.app/v1/prices/WHYPE
curl "https://aethr-api.vercel.app/v1/prices/UBTC/estimate?side=sell&size=10"