Send POST request to /exchange, or use the ExchangeClient SDKs.
cancelByCloid method over HTTP, or call the higher-level cancel_by_cloid / cancelByCloid methods on the ExchangeClient SDK to cancel by client order ID (cloid).
Method: POST https://api.hotstuff.trade/exchange
| Field | Type | Description |
|---|---|---|
tx_hash | String | Transaction hash in hexadecimal format |
tx_type | Number | Transaction type identifier |
error | String | Error message if request failed, empty string on success |
data | Object | Response data object containing cancel status |
data.status | Object | null | Cancel status, null if error |
address | String | User wallet address in hexadecimal format |
oid.