Skip to main content
PATCH
/
v1
/
trade
/
leverage
Update Leverage
curl --request PATCH \
  --url https://api.perpetuals.polymarket.com/v1/trade/leverage \
  --header 'Content-Type: application/json' \
  --data '
{
  "op": {
    "type": "updateLeverage",
    "args": {
      "iid": 1,
      "lev": 5,
      "cross": false
    }
  },
  "sig": "0x59ed57f6dce8d15aa01e774ef53d9957c84801fb34ec655f6a2ea344af8a58843095314730a3f1bd8f0f4560f6dc6f8de69d3f2d0a6f3365fc877f7f4845d40b1c",
  "salt": 333333333,
  "ts": 1767000012000
}
'
{
  "status": "ok",
  "instrument_id": 1,
  "leverage": 10,
  "cross": true
}
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