POST /v1/exchange (encrypted binary).
Permission: Owner only.
Select leverage up to the market’s maximum. The same command is available over WebSocket.
Configure
client and the example inputs using SDK integration. Examples show typed SDK values, not a plaintext HTTP JSON body.Request fields
The client supplies the configured domain, account, policy, signer and verified session binding, and signs the canonical envelope.Nonzero private request ID. Retain it for an exact retry; use a distinct ID for a different intent.
Expiry timestamp in milliseconds, within the verified channel and configured authentication limits; not a validity duration.
Configured market ID from market metadata.
Multiplier scaled by 10,000;
20_000n means 2×. At least 10_000n (1×), subject to the market cap and current margin/risk checks.Latest permitted time to apply this selection, in milliseconds. It is not a scheduled reset of an accepted leverage setting.
Response fields
The result uses the shared receipt fields. The fields below are most relevant to this method.rejected, accepted, dispatched, acknowledged, partial, complete or unknown. See lifecycle.