Skip to main content
POST
/
exchange
Claim Referral Rewards
curl --request POST \
  --url https://api.hotstuff.trade/exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": {
    "data": {
      "collateralId": 1,
      "spot": false,
      "nonce": 1769690421578
    },
    "type": "claimReferralRewards"
  },
  "signature": "0xacc3411bc74146cdda0a4991f3436a2e935fefed46cd74a2a6202df9f991a037...",
  "nonce": 1769690421578
}
'
{
  "tx_hash": "0x5cdeea606058f15236fa8616b6ae13ccfd48bee25dba2f464b3645ddc361375f",
  "tx_type": 1210,
  "error": "",
  "data": {},
  "address": "0xEc6d21B8c1FF6dF523F22c4cf54F077e5F7cAfBf"
}
Claim your accumulated referral rewards to either spot or derivatives collateral balance.

Body

application/json
action
object
required
signature
string
required
nonce
integer
required

Response

200 - application/json

Successful response

tx_hash
string
tx_type
integer
error
string
data
object
address
string