Update Isolated Margin
Adjust the signed collateral allocation for an existing isolated position. Use a positive amount to add margin and a negative amount to remove it. A removal may include unrealized isolated profit, but the resulting isolated position equity (allocation + unrealized PnL - settled funding) must remain at or above the position’s current required initial margin.
Both additions and removals are rejected while the account is in cross liquidation or the target isolated position is in isolated liquidation. An isolated liquidation on another instrument does not block this request.
Cancel-only mode does not gate margin adjustments.
Requires proxy signature, see proxy signing.
Gateway signature validation rejects a stale or future-skewed timestamp as
invalid signature. A request that passes gateway validation can still fail
sequencer freshness revalidation with
invalid_margin_signature_timestamp. Reusing the exact signed request
rejects with signature_already_used.
Body
Margin request.
Signature in hex format
"0x1234567890..."
Salt
1234567890
Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).
1767225600000
Response
Generic response.
- Option 1
- Option 2
ok