activeAssetCtx
Real-time stream of oracle-, mid- and mark prices for an asset. Sends updates every second.
Every live data message includes both routing identifiers with the same value:
{"type": "activeAssetCtx", "channel": "activeAssetCtx"}Other payload fields are omitted above. Existing clients may continue routing on either field.
This subscription mirrors Hyperliquid activeAssetCtx exactly.
Subscribe
{
"method": "subscribe",
"subscription": {
"type": "activeAssetCtx",
"coin": "<coin_symbol>"
}
}Unsubscribe
{
"method": "unsubscribe",
"subscription": {
"type": "activeAssetCtx",
"coin": "<coin_symbol>"
}
}format
Note: activeAssetCtx includes both "type" and "channel" with the same value. Existing Hyperliquid-compatible clients can continue routing on channel. impactPxs contains the average execution price to trade impact notional (20k$ for BTC/ETH, 6k$ for others) on bid and ask.
Example:
Error messages:
Common errors
Last updated