HIP-4 launched on Hyperliquid mainnet on 2 May 2026 and added a new asset class to HyperCore: outcome markets. Outcomes are fully-collateralized binary contracts that trade on the same CLOB as spot and perps, settle in USDH, and resolve to eitherDocumentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
0 or 1 against an authorized oracle at expiry.
Because outcome markets ride the same matching engine as every other HyperCore market, you don’t need a new client, a new WebSocket, or a new schema to stream them. Every primitive in this section - ohlcvCandlesForPair, ohlcvCandlesForToken, and walletTxs - works on HIP-4 markets from the moment they go live.
HIP-4 in 60 seconds
| Property | Value |
|---|---|
| Contract type | Binary outcome (Yes / No), USDH-collateralized, no liquidation. |
| Price range | 0.001 to 0.999. The price is the implied probability. |
| Settlement | Resolves to 0 or 1 against an authorized oracle at the resolution timestamp. PnL settles in USDH. |
| Lifecycle | Opening auction (~15 min single-price clearing) → continuous CLOB trading → oracle settlement → halt + auto-settle. |
| Fees | Zero to open. Fees apply on close, burn, or settlement. |
| Deployment | Initial markets are curated and validator-deployed. Permissionless builder deployment follows in stages, mirroring HIP-3’s rollout. |
| Market encoding | encoding = 10 * outcome + side. Each side of an outcome is its own tradeable market - outcome 123, side 0 becomes encoding 1230, outcome 123, side 1 becomes 1231. Use the encoding to reference HIP-4 markets in the OHLCV endpoints. |
Discover live HIP-4 markets
HIP-4 ships its own dedicated Info type,outcomeMeta - separate from metaAndAssetCtxs (which covers perps and spot). It returns the active outcome universe: each entry carries an integer outcome ID, a name, a structured description, and a sideSpecs array.
outcomeMeta response
description is a pipe-delimited spec. Parse it once and you get the full market definition:
| Field | Example | Meaning |
|---|---|---|
class | priceBinary | Market class (binary outcome on a price threshold). |
underlying | HYPE | Asset the outcome resolves against. |
expiry | 20260310-1100 | Resolution timestamp, YYYYMMDD-HHMM UTC. |
targetPrice | 34.5 | Threshold the underlying is compared against at expiry. |
period | 3m | Recurrence cadence for repeating markets. |
- Call
outcomeMetato enumerate liveoutcomeIDs and parse eachdescription. - Compute the encoding for each side:
encoding = 10 * outcome + side. Each side trades as its own market, so an outcome withYes(side 0) andNo(side 1) yields two encodings. - Subscribe to OHLCV for the encodings you want to track.
- Stream fills via
walletTxsfor any address active on those markets.
Stream live probabilities (OHLCV)
Outcome prices are bounded between0 and 1, so an OHLCV candle on a HIP-4 market is, by construction, a probability candle. Multiply by 100 for percent.
Stream fills on an outcome market
Every fill on a HIP-4 market arrives as aHypercoreFillTransaction inside walletTxs. The coin field carries the outcome symbol, price is the implied probability at fill time, and closed_pnl realises in USDH against the 0 / 1 settlement boundary.
Detect settlement
When an outcome resolves, three things happen in quick succession on-chain:- Trading on the market halts.
- Open orders cancel.
- Each holder’s position settles to USDH PnL against the final outcome (
0or1).
- The last fill on a HIP-4 market closes at price
0or1. - Followed by a USDH ledger delta on every position-holder’s account corresponding to their settled PnL.
clearinghouseState snapshots if you need to reconcile post-settlement balances.
Patterns
Live probability tape
Subscribe toohlcvCandlesForPair at ONE_MINUTE interval. Render each candle as close * 100 % to drive a Polymarket-style probability sparkline.
Outcome leaderboards
Subscribe to a curated wallet list withwalletTxs, filter HypercoreFillTransaction events whose coin matches a HIP-4 symbol, and aggregate notional (price * size) per wallet per market. Surface the largest open positions on each outcome.
Settlement-PnL feed
For each position-holder on a market, capture the USDH ledger delta in the resolution window. Rank by realised PnL to produce a “biggest winners / losers on this outcome” feed every time a market resolves.Cross-market cohort stream
Subscribe to every active HIP-4 symbol in a singleohlcvCandlesForPair request. One connection, many markets - lets you build a full HIP-4 dashboard without sharding.
”New outcomes” discovery
Once permissionless builder deployment opens, new outcomes appear inoutcomeMeta the moment they’re registered. Poll outcomeMeta on a short cadence and diff the outcome IDs against the previous snapshot; subscribe to OHLCV for any new entry. The candle stream picks up the opening auction the instant a price prints.
Historical depth and warehouse delivery
Every HIP-4 fill is captured in the samehl_fills and hl_misc_events tables that power perp and spot history. Use the Pipeline API to land outcome trades, settlements, and USDH ledger deltas directly in ClickHouse, BigQuery, Postgres, Kafka, or S3 - no separate connector required.
Reference
- HIP-4: Outcome markets (Hyperliquid official spec)
outcomeMetaInfo API reference - request and response schema.HypercoreFillTransaction- full type reference.- OHLCV Pairs Stream / OHLCV Tokens Stream
- Wallet Activity Stream
- HIP-3 markets recipe - identical address syntax, useful for builder-deployer prefixes.
- Pipeline API HyperCore normalizers
On the roadmap
- Parsed
descriptionfields onoutcomeMeta(class, underlying, expiry, targetPrice, period) returned alongside the raw string. - Multi-outcome (non-binary) market support, tracking the upstream HIP-4 rollout.