Skip to main content

TokenDrop.claim() method

Claim a certain amount of tokens

Signature:

claim(amount: Amount, checkERC20Allowance?: boolean): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
amountAmountthe amount of tokens to mint
checkERC20Allowanceboolean(Optional) Optional, check if the wallet has enough ERC20 allowance to claim the tokens, and if not, approve the transfer

Returns:

Promise<TransactionResult>

Remarks

See TokenDrop.claimTo()