Skip to main content

EditionDrop.claim() method

Claim a token to the connected wallet

Signature:

claim(tokenId: BigNumberish, quantity: BigNumberish, checkERC20Allowance?: boolean): Promise<TransactionResult>;

Parameters

ParameterTypeDescription
tokenIdBigNumberishId of the token you want to claim
quantityBigNumberishQuantity of the tokens you want to claim
checkERC20Allowanceboolean(Optional) Optional, check if the wallet has enough ERC20 allowance to claim the tokens, and if not, approve the transfer

Returns:

Promise<TransactionResult>

  • Receipt for the transaction

Remarks

See EditionDrop.claimTo()