秋田预测市场 · Discord 审计

HIP-4预测市场outcomeId与API数据获取方法

2026-07-01 · Hyperliquid · 5 条相关讨论

Ŀᾄғłᾄммἔ 2026-07-01 03:50:52

Is there a way to get market labels/names for prediction outcomeIds via the public API, or only price data?

Is there a way to get market labels/names for prediction outcomeIds via the public API, or only price data?

an0n 2026-07-01 04:08:44

outcomeMeta

outcomeMeta

Ŀᾄғłᾄммἔ 2026-07-01 12:51:10

<@270948012782649344> outcomeMeta returns outcomeIds for question 32 (World Cup), but these don't map to spot pairs @N in spotMeta. How do I access candlestick/price data for HIP-4 prediction market outcomes via the public API?

<@270948012782649344> outcomeMeta returns outcomeIds for question 32 (World Cup), but these don't map to spot pairs @N in spotMeta. How do I access candlestick/price data for HIP-4 prediction market outcomes via the public API?

an0n 2026-07-01 12:58:15

you have the id from the spotbalance, with # instead of + you get the current mid price for that outcome and with that same id you get the outcome and with the id of that outcome you get the question. there is an api-channel, you know? the prices are in allMids

you have the id from the spotbalance, with # instead of + you get the current mid price for that outcome and with that same id you get the outcome and with the id of that outcome you get the question. there is an api-channel, you know? the prices are in allMids

Ŀᾄғłᾄммἔ 2026-07-01 13:00:12

Got it, thanks! Will check the api-channel for future questions.

Got it, thanks! Will check the api-channel for future questions.