Skip to main content

NFTDrop.claim() method

Claim NFTs to the connected wallet.

Signature:

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

Parameters

ParameterTypeDescription
quantityBigNumberish
checkERC20Allowanceboolean(Optional)

Returns:

Promise<TransactionResultWithId<NFTMetadataOwner>[]>

  • 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()