Skip to main content
HIP-4 prediction markets are currently on testnet only. When they launch on mainnet, all endpoints will return live data automatically. The WebSocket stream will include prediction market events within 60 seconds of launch. hypernode is mainnet-ready.

How it works

HyperLiquid’s HIP-4 introduces binary outcome markets directly on L1. Each outcome has two tradeable tokens (YES/NO) that settle to 0 or 1. Outcome tokens trade on spot rails using the same CLOB matching engine as regular spot pairs (200K+ orders/sec, ~200ms finality). USDH is the only collateral. All capital cross-margins with your perp and spot positions in the same account.

Key concepts

Outcome tokens

Each outcome has two sides, each tradeable as its own token:

Market types

Binary outcomes — standalone YES/NO markets (e.g., “Will BTC be above $74,650 by Apr 15?”) Multi-outcome questions — a question with multiple outcomes. Each outcome has YES/NO sides. A fallback “Other” outcome absorbs remaining probability. Example: “What will Hypurr eat?” with outcomes Akami, Canned Tuna, Otoro, Other. Recurring price binaries — auto-rolling markets tied to an underlying asset price. Same outcome ID, updated expiry and target each period (daily, 15-min, etc.). Description contains structured metadata:

Collateral

Prediction markets use USDH (not USDC) as collateral. On mainnet, USDH trades at ~$0.995. To get USDH:
  1. Transfer USDC from perp to spot balance
  2. Buy USDH via the USDH/USDC spot pair (token index 360)

Settlement

Settlement is automatic. The L1 reads its own mark price and settles every position in one block. No oracle dispute window, no claim button, no waiting.
  • Price binaries: L1 consensus reads the HyperCore mark price at expiry. If the condition is met, YES settles at 1.0 and NO at 0.0. Otherwise reversed.
  • Event outcomes: A resolution oracle posts the result. Single transaction settles all positions.
Settlement fills appear in your fill history with:

Fees

  • Trading: Spot fee schedule (outcome tokens trade on spot rails)
  • Settlement: 7.0 bps charged in outcome token
  • Minimum order: size * min(markPx, 1-markPx) >= $10 USDH
  • Fee token on fills: The outcome token itself (e.g., +90), not USDC/USDH

Prediction actions in the gossip stream

These HIP-4 actions appear as pre-consensus events:

Endpoints

Returns all outcome tokens with enriched metadata:
For multi-outcome questions, includes question and question_id fields.

Other endpoints

Placing an order

Use the exchange API with # coin notation:
Register your wallet first via POST /exchange/register with your private key and network: "testnet".

In the stream

Prediction market orders and fills appear in the unified WebSocket stream with a prediction metadata object:
Filter for prediction events:
Settlement events also appear in the stream as fills with dir: "Settlement".

Testnet markets (live)