Skip to main content
Refer to Websocket for establishing the websocket connection.

Leverage

Params

{
    "method": "subscribe",
    "params": {
        "source": "account_leverage",
        "account": "42trU9A5..."
    }
}

Stream

{
    "channel": "account_leverage",
    "data": {
        "u": "42trU9A5...",
        "s": "BTC",
        "l": 12,
        "t": 1234567890
    }
}
FieldTypeDescription
’u’stringAccount address
’s’stringSymbol
’l’integerNew leverage
’t’numberTimestamp in milliseconds