Skip to main content
PATCH
Update Leverage
Request Weight: 1 Action Weight: 1

Body

application/json

Leverage request.

op
object
required
sig
string
required

Signature in hex format

Example:

"0x1234567890..."

salt
integer
required

Salt

Example:

1234567890

ts
integer
required

Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).

Example:

1767225600000

Response

The instrument's effective leverage configuration after the update.

The instrument's effective leverage configuration after the update.

status
enum<string>
required
Available options:
ok
instrument_id
integer
required

Instrument ID

Example:

1

leverage
integer
required

Leverage

Example:

10

cross
boolean
required

Whether to use cross margin mode