Rewards

Claims the reward for a specific tournament after its conclusion.

claimReward

Syntax

claimReward(tournamentID)

Parameters

  • tournamentID: ID of the tournament.

Returns

  • TransactionReceipt: Details of the reward claim transaction.

Example

await sdk.claimReward(1);

Sample Return

{
  "status": true,
  "transactionHash": "0xabc...",
  "claimedAmount": "500 USDB"
}

Last updated