Margin
Params
Stream
| Field | Type | Description |
|---|---|---|
'u' | string | Account address |
't' | number | Timestamp in milliseconds |
's' | string | Symbol |
'i' | boolean | New margin mode (isolated or not isolated) |
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Streams all changes made to an account’s margin mode in any market.
{
"method": "subscribe",
"params": {
"source": "account_margin",
"account": "42trU9A5..."
}
}
{
"channel": "account_margin",
"data": {
"u": "42trU9A5...",
"s": "ETH",
"i": true,
"t": 1234567890
}
}
| Field | Type | Description |
|---|---|---|
'u' | string | Account address |
't' | number | Timestamp in milliseconds |
's' | string | Symbol |
'i' | boolean | New margin mode (isolated or not isolated) |