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"
}Trading
Cancel Orders by Order ID
Send POST request to /exchange, or use the ExchangeClient SDKs.
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"
}⌘I