KAIRO
Docs · 02

Feeds

Every value is an int256 scaled 1e18: USD for mids and equity, a per-hour rate for funding (0.0000125 per hour is 12500000000000).

IdFeedSourceRound dueWindowSpreadFee
0HYPE/USD midallMids HYPE1 h or 1.0%5 min0.50%0.02 USDC
1BTC/USD midallMids BTC1 h or 1.0%5 min0.50%0.02 USDC
2ETH/USD midallMids ETH1 h or 1.0%5 min0.50%0.02 USDC
3HYPE funding, hourlyfundingHistory HYPEeach settled hour10 minequal0.02 USDC
4BTC funding, hourlyfundingHistory BTCeach settled hour10 minequal0.02 USDC
5ETH funding, hourlyfundingHistory ETHeach settled hour10 minequal0.02 USDC
6HLP vault equityvaultDetails1 h or 0.5%10 min0.10%0.02 USDC

Mids

The book mid of HYPE, BTC and ETH from allMids. observedAt is each reporter's read time; the round keeps the oldest of its signers' times, so the age a consumer sees is never flattering. A round is due when an hour passed since the reference round or the median moved 1% from it, with at least 30 s between rounds; signatures older than 2 minutes are refused.

Funding

One round per settled hourly print from fundingHistory. observedAt is the hour itself (a multiple of 3600), every signer must sign the same hour and the same value, and hours are posted in order. Signatures up to 2 days old are accepted so a missed hour can be posted later, still in order.

Vault equity

HLP's equity from vaultDetails, the latest point of its account value series (Hyperliquid publishes a point every few minutes). observedAt is that point's own time. Leader vaults and more markets are added by request: the owner adds a feed with addFeed, inside the bounds below.

Requesting a feed

The app's Request a feed page reads any candidate from Hyperliquid's info API before you ask: a mid, a mark or oracle price, open interest or hourly funding by market name (HYPE, BTC, spot pairs as @index), or a vault's equity by address. It shows the live value, the round rule the feed would run under and its cost per day at the launch fee, and sends the request as a post on X or copies it as JSON. GET /api/request?kind=mid&coin=SOL answers the same check.

Bounds every feed obeys

  • Heartbeat between 1 minute and 1 day; least gap at least 5 s; challenge window between 1 minute and 1 hour.
  • Signature age at most 2 days; deviation at most 50%; spread at most 5%; fee at most 1 USDC per round.
  • A feed's alignment (hourly or continuous) never changes after it is added.