Send POST request to /exchange, or use the ExchangeClient SDKs.
addAgent method to register an API agent wallet that can act on behalf of your account or a sub-account.
Method: POST https://api.hotstuff.trade/exchange
| Field | Type | Description |
|---|---|---|
tx_hash | String | Transaction hash in hexadecimal format |
tx_type | Number | Transaction type identifier |
success | Boolean | Whether the operation was successful |
data | Object | Response data object |
address | String | User wallet address in hexadecimal format |