Exchange API calls do not consume Quicknode API credits. If you are on a free trial plan, see hyperliquidapi.com for your URL and fee schedule. To white-label with your own builder code, contact us.
Parameters
Returns
- quoteTokenstring
Quote token used to collateralize the prediction markets
- outcomesarray
Array of outcome objects. Each outcome exposes yes and no trading aliases (for example "#100" and "+100") and a native assetId (for example 100000100) under its yes and no sides.
- outcomeinteger
Outcome identifier (e.g. 171)
- namestring
Outcome name (e.g. "Brazil")
- descriptionstring
Outcome description (may be empty)
- sideSpecsarray
Array of side specification objects for the outcome
- namestring
Side name (e.g. "Yes" or "No")
- quoteTokenstring
Quote token used to collateralize this outcome (e.g. "USDH")
- yesobject
Yes side alias details
- sideinteger
Side index (0 for the yes side)
- namestring
Side name (e.g. "Yes")
- coinstring
Coin alias for the yes side (e.g. "#1710")
- tokenstring
Token alias for the yes side (e.g. "+1710")
- assetIdinteger
Native asset index for the yes side (e.g. 100001710)
- encodinginteger
Encoding value for the yes side (e.g. 1710)
- noobject
No side alias details
- sideinteger
Side index (1 for the no side)
- namestring
Side name (e.g. "No")
- coinstring
Coin alias for the no side (e.g. "#1711")
- tokenstring
Token alias for the no side (e.g. "+1711")
- assetIdinteger
Native asset index for the no side (e.g. 100001711)
- encodinginteger
Encoding value for the no side (e.g. 1711)
- actionsobject
Outcome action templates for this outcome
- splitobject
Outcome split action template
- typestring
Action type ("outcomeSplit")
- outcomeinteger
Outcome identifier for the action
- amountstring
Amount in USDH as a stringified number
- mergeobject
Outcome merge action template
- typestring
Action type ("outcomeMerge")
- outcomeinteger
Outcome identifier for the action
- amountstring
Amount in USDH as a stringified number. Null or omitted means the maximum available amount.
- questionsarray
Array of question objects that group related outcomes
- encodingobject
Encoding details describing how outcome and question aliases map to assets and actions
- actionsobject
Outcome action types supported for these markets