TokenDrop.claim() method
Claim a certain amount of tokens
Signature:
claim(amount: Amount, checkERC20Allowance?: boolean): Promise<TransactionResult>;
Parameters
Parameter | Type | Description |
---|---|---|
amount | Amount | the amount of tokens to mint |
checkERC20Allowance | boolean | (Optional) Optional, check if the wallet has enough ERC20 allowance to claim the tokens, and if not, approve the transfer |
Returns:
Promise<TransactionResult>