allIsolatedMarginUpdates
Stream all isolated margin updates.
Every live data message includes both routing identifiers with the same value:
{"type": "allIsolatedMarginUpdates", "channel": "allIsolatedMarginUpdates"}Other payload fields are omitted above. Existing clients may continue routing on either field.
Subscribe
{
"method": "subscribe",
"subscription": {
"type": "allIsolatedMarginUpdates"
}
}Unsubscribe
{
"method": "unsubscribe",
"subscription": {
"type": "allIsolatedMarginUpdates"
}
}Update data format
Updates are batched per block. There are two update types: isolated_margin and top_up_isolated_margin.
Isolated margin update
Sent when a user adds or removes isolated margin on a position (updateIsolatedMargin action). Specifies the USDC delta.
Top-up isolated margin update
Sent when a user adjusts their isolated margin to reach a target leverage (topUpIsolatedOnlyMargin action). Unlike isolated_margin which specifies a USDC delta, this specifies the desired leverage directly.
Field reference
update_type
string
"isolated_margin" or "top_up_isolated_margin"
time
number
Block timestamp (milliseconds since epoch)
user
string
User address (lowercase)
coin
string
Coin/market name (e.g. "ETH", "xyz:GOLD")
is_buy
bool
Side of the margin change (isolated_margin only)
ntli
string
Amount of margin added or removed (isolated_margin only)
target_leverage
string
Target leverage as float string (top_up_isolated_margin only)
tx_index
number
Transaction index within the block
Examples
Common errors
Last updated