Questions? Join our Discord.
curl --request POST \
--url https://api.hotstuff.trade/exchange \
--header 'Content-Type: application/json' \
--data '
{
"action": {
"data": {
"cancels": [
{
"cloid": "9c29fda4-79b4-47da-a788-568703333134",
"instrumentId": 1
}
],
"expiresAfter": 1769692246080,
"nonce": 1769688646080
},
"type": "cancelByCloid"
},
"signature": "0xcb6f241ea57879a6e3cf90de61a78fa0ab9dd856361bd7552acc3e4e8b07017d...",
"nonce": 1769688646080
}
'{
"tx_hash": "0x0699b3be577138910ffcf99f2c4471566479da90a0901460b5081b1276031486",
"tx_type": 1303,
"success": true,
"data": {
"status": [
{
"success": {
"success": "true"
}
}
]
},
"address": "0x9b342a0a2809A3806c17Bd0550BB63036dfB2C6A"
}Send POST request to /exchange, or use the ExchangeClient SDKs.
curl --request POST \
--url https://api.hotstuff.trade/exchange \
--header 'Content-Type: application/json' \
--data '
{
"action": {
"data": {
"cancels": [
{
"cloid": "9c29fda4-79b4-47da-a788-568703333134",
"instrumentId": 1
}
],
"expiresAfter": 1769692246080,
"nonce": 1769688646080
},
"type": "cancelByCloid"
},
"signature": "0xcb6f241ea57879a6e3cf90de61a78fa0ab9dd856361bd7552acc3e4e8b07017d...",
"nonce": 1769688646080
}
'{
"tx_hash": "0x0699b3be577138910ffcf99f2c4471566479da90a0901460b5081b1276031486",
"tx_type": 1303,
"success": true,
"data": {
"status": [
{
"success": {
"success": "true"
}
}
]
},
"address": "0x9b342a0a2809A3806c17Bd0550BB63036dfB2C6A"
}Batch cancel order(s) by their client order order ids i.e. cloid(s)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.