Send POST request to /exchange, or use the ExchangeClient SDKs.
claimReferralRewards method to claim your accumulated referral rewards to either spot or derivatives collateral.
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 |
address | String | User wallet address in hexadecimal format |