registeredOutcomesById - Active HIP-4 Outcomes by ID
Retrieve registered HIP-4 outcomes by outcome IDs or asset IDs from the Dwellir Hyperliquid Index over /info or JSON-RPC.
Use registeredOutcomesById when you already know the outcome ID or encoded asset ID and need the registered outcome record.
Endpoints
REST-style Info API:
POST https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/infoJSON-RPC:
POST https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/jsonrpcParameters
| Field | Type | Required | Description |
|---|---|---|---|
type | string | yes | Must be registeredOutcomesById for /info. |
outcome_ids | number[] | yes, unless asset_ids is supplied | Outcome IDs to fetch. |
asset_ids | string[] | yes, unless outcome_ids is supplied | Outcome asset IDs such as #30; the service derives the outcome ID from each asset ID. |
At most 50 unique outcome IDs are allowed after merging outcome_ids and derived IDs from asset_ids.
Billing
Billed by returned outcome objects
registeredOutcomesById responses are billed by the number of outcome objects returned. Empty arrays are billed as 0 responses/API credits.
Response
REST /info responses return an array directly. JSON-RPC responses return the same array under result.