Skip to main content
POST
https://api.hotstuff.trade
/
exchange
Cancel Orders by Order ID
curl --request POST \
  --url https://api.hotstuff.trade/exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": {
    "data": {
      "cancels": [
        {
          "oid": 136085931,
          "instrumentId": 1
        }
      ],
      "expiresAfter": 1769692246080,
      "nonce": 1769688646080
    },
    "type": "cancelByOid"
  },
  "signature": "0xcb6f241ea57879a6e3cf90de61a78fa0ab9dd856361bd7552acc3e4e8b07017d...",
  "nonce": 1769688646080
}
'
{
  "tx_hash": "0x0699b3be577138910ffcf99f2c4471566479da90a0901460b5081b1276031486",
  "tx_type": 1302,
  "success": true,
  "data": {
    "status": [
      {
        "success": {
          "success": "true"
        }
      }
    ]
  },
  "address": "0x9b342a0a2809A3806c17Bd0550BB63036dfB2C6A"
}

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.

Cancel open order(s) by order id(s)

Body

application/json
action
object
signature
string
nonce
integer

Response

200 - application/json

Successful response

tx_hash
string
required
tx_type
integer
required
success
boolean
required
data
object
required
address
string
required