Skip to main content

NFTDrop.claim() method

Claim NFTs to the connected wallet.

Signature:

claim(quantity: BigNumberish, checkERC20Allowance?: boolean): Promise<TransactionResultWithId<NFT>[]>;

Parameters

ParameterTypeDescription
quantityBigNumberish
checkERC20Allowanceboolean(Optional)

Returns:

Promise<TransactionResultWithId<NFT>[]>

  • an array of results containing the id of the token claimed, the transaction receipt and a promise to optionally fetch the nft metadata

Remarks

See NFTDrop.claimTo()