Skip to main content
POST
/
exchange
Update Perp Instrument Leverage
curl --request POST \
  --url https://api.hotstuff.trade/exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": {
    "data": {
      "instrumentId": 1,
      "leverage": 10,
      "nonce": 1769690420382
    },
    "type": "updatePerpLeverage"
  },
  "signature": "0x1c95312b98f5a49ebf8289eb5b6db29ac71c0b2b7b744e27af6a62bf6803723b...",
  "nonce": 1769690420382
}
'
{
  "tx_hash": "0x1c95312b98f5a49ebf8289eb5b6db29ac71c0b2b7b744e27af6a62bf6803723b",
  "tx_type": 1203,
  "error": "",
  "data": {},
  "address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}

Documentation Index

Fetch the complete documentation index at: https://docs.hotstuff.trade/llms.txt

Use this file to discover all available pages before exploring further.

Update Perpetual instrument leverage

Body

application/json
action
object
required
signature
string
required
nonce
integer
required

Response

200 - application/json

Successful response

tx_hash
string
tx_type
integer
error
string
data
object
address
string