/
v3.0.11Get access

collectReward

Collects a reward for the user

Request parameters:

NameDescriptionTypeValuesDefaultSource
rewardId
The ID of the reward to be collectednumber--
Key from responseId
externalWalletId
The ID of the external wallet to credit the rewardstring---
This method is usually used with these methods:

Call example:

collectReward({
  rewardId: 4,
  externalWalletId: '0x123456789123456789123456089132'
})

Response examples:

{
  code: 0,
  data: {
    result: 0,
    result_text: null,
    details: []
  }
}