Messages
{
"id": 7,
"req": "post",
"op": {
"type": "updateMargin",
"args": {
"iid": 1,
"amt": "100.00"
}
},
"sig": "0x7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d1c",
"salt": 444444444,
"ts": 1767000013000
}{
"id": 7,
"data": {
"status": "ok"
}
}Update Isolated Margin
Add or remove margin from an isolated Perps position over WebSocket.
WSS
/
v1
/
ws
Messages
{
"id": 7,
"req": "post",
"op": {
"type": "updateMargin",
"args": {
"iid": 1,
"amt": "100.00"
}
},
"sig": "0x7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f4a5b6c7d1c",
"salt": 444444444,
"ts": 1767000013000
}{
"id": 7,
"data": {
"status": "ok"
}
}Update Isolated Margin Request
type:object
Client submits a signed isolated-margin adjustment
Update Isolated Margin Response
type:object
Server responds with the margin update result
Was this page helpful?
⌘I