Send POST request to /exchange, or use the ExchangeClient SDKs.
placeOrder method over HTTP, or call the higher-level place_order / placeOrder methods on the ExchangeClient SDK.
Make sure you have already created an exchange instance as shown in exchangeClient.
Method: POST https://api.hotstuff.trade/exchange
| Field | Type | Description |
|---|---|---|
tx_hash | String | Transaction hash in 66-character 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 order status |
data.status | Object | null | Order status object with oid, null if error |
address | String | User wallet address in 42-character hexadecimal format |