Docs
Docs
Home
Getting Started
Agent Tooling
CLI
Supported Chains
Acala
Aptos
Arbitrum
Arc
Asset Hub
Astar
Avalanche
Base
Berachain
Bifrost
Binance Smart Chain
Bittensor
Blast
Boba Network
Bridge Hub
Celo
Centrifuge
Chiliz
Cronos
Enjin
Ethereum
Etherlink
Flow EVM Gateway
Gnosis
Hydration
Hyperliquid
Immutable
Ink
IoTeX
Kusama
Linea
LISK
Manta Atlantic
Manta Pacific
Mantle
MegaETH
Monad
Movement
Neuroweb
opBNB
Optimism
Plasma
Polkadot
Polygon
Pulsechain
Robinhood
Ronin
Scroll
Sonic
Starknet
Taiko
Tempo
Sui
TRON
Unichain
Viction
World Chain
XDC Network
XX Network
Zetachain
zkSync Era
Zora
Supported ChainsHyperliquidHyperliquid Index

HIP-4 Outcome Markets

Query HIP-4 outcome market metadata, registrations, settlements, and outcome-specific fills from the Dwellir Hyperliquid Index.

Hyperliquid RPC endpoint: endpoint URLs, plans and pricing.

HIP-4 adds outcome markets to HyperCore. Dwellir's Hyperliquid Index exposes outcome metadata, lifecycle events, and outcome-side fills through the same REST-style /info and JSON-RPC surfaces used by indexed fills and candles.

Use these methods when you need to discover active outcomes, backfill registration and settlement history, or retrieve fills for outcome instruments such as #30 and #31.

Endpoints

REST-style Info API:

Text
POST https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/info

JSON-RPC:

Text
POST https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/jsonrpc

For /info, set type to the method name. For JSON-RPC, set method to the same value and pass request fields under params.

Outcome Asset IDs

HIP-4 outcome sides are encoded as #<encoding> coins:

ValueMeaning
outcomeIdNumeric outcome ID assigned in registration order.
sideyes, no, 0, or 1.
Yes coin#(10 * outcomeId).
No coin#(10 * outcomeId + 1).

For outcome ID 3, the Yes side is #30 and the No side is #31.

Methods

MethodUse case
outcomeMetaCurrent active outcome metadata and sideSpecs.
outcomeFillsRecent fills for all outcome coins or one outcome side.
outcomeFillsByTimeOutcome fills inside a bounded time window.
registeredOutcomesRecent registered outcomes that have not settled yet.
registeredOutcomesByTimeRegistered outcomes inside a bounded registration-time window.
registeredOutcomesByIdRegistered outcomes by outcome_ids or asset_ids.
settledOutcomesRecent settled outcomes.
settledOutcomesByTimeSettled outcomes inside a bounded settlement-time window.
settledOutcomesByIdSettled outcomes by outcome_ids or asset_ids.

Billing

Outcome fill and outcome lifecycle list responses are billed by returned objects through X-Iris-Billing-Weight.

Method familyBilling weight
outcomeFills, outcomeFillsByTimeNumber of returned fill objects.
registeredOutcomes*, settledOutcomes*Number of returned outcome objects.
outcomeMetaRegular single metadata response; no bundled-response billing header.

Empty arrays return billing weight 0. Error responses are not charged.

Pagination

By-time methods page oldest to newest:

Method familyCursor formatSort key
outcomeFillsByTimetime_txIndexFill timestamp, then fill txIndex.
registeredOutcomesByTimetime_outcomeIdRegistration event time, then outcome ID.
settledOutcomesByTimetime_outcomeIdSettlement event time, then outcome ID.

When cursor is supplied, the service resumes after the cursor and ignores startTime. Keep the same endTime across pages for a stable window.

Indexing Model

Dwellir derives these endpoints from Hyperliquid L1 data and stores the customer-facing records needed for serving queries:

  • outcome registration and settlement events
  • current outcomeMeta snapshots for metadata and sideSpecs
  • outcome-side fills from the indexed fill stream

You do not need to parse raw replica_cmds to use these HIP-4 query methods. Dwellir indexes the required L1 data and serves outcome market records directly. Use the L1 gRPC Streaming API only when your application needs raw live block payloads.

historicalOrdersByTime

Retrieve order status updates for one user inside a bounded time window from the Dwellir Hyperliquid Index over /info or JSON-RPC.

outcomeMeta

Retrieve the latest active HIP-4 outcome metadata snapshot from the Dwellir Hyperliquid Index over /info or JSON-RPC.

On this page

EndpointsOutcome Asset IDsMethodsBillingPaginationIndexing Model