activeAssetCtx
Public market context for one instrument. Perpetuals expose funding, oracle,
mark price, and open interest. Outcome markets reuse the same channel with
coin set to the numeric instrument_id; Outcome consumers use its live
price, 24-hour volume, and open-interest fields.
ChannelactiveAssetCtxserver → client · type
activeAssetCtxKeep one market header live: mark, oracle, funding, OI (Outcome: price, volume, OI).
Subscribe
{
"method": "subscribe",
"type": "activeAssetCtx",
"subscription": {
"type": "activeAssetCtx",
"coin": "4"
}
}Try it
Subscription parameters
coinstringrequired
typestringrequired
"activeAssetCtx"Server message
channelstring
"activeAssetCtx"dataWsActiveAssetCtx
coinstring
ctxWsActiveAssetCtxData
Message example
{
"channel": "activeAssetCtx",
"data": {
"coin": "4",
"ctx": {
"funding": "",
"openInterest": "",
"prevDayPx": "0",
"dayNtlVlm": "",
"premium": "",
"oraclePx": "0",
"markPx": "0",
"midPx": "0",
"impactPxs": [
""
],
"dayBaseVlm": "",
"lastPrice": "0",
"nextFundingTime": 1700000000000,
"prevFundingTime": 1700000000000,
"blockTime": 1700000000000
}
}
}