Skip to main content

DropErc1155ClaimConditions.canClaim() method

Can Claim

Example

// Quantity of tokens to check claimability of
const quantity = 1;
const canClaim = await contract.canClaim(quantity);

Signature:

canClaim(tokenId: BigNumberish, quantity: BigNumberish, addressToCheck?: string): Promise<boolean>;

Parameters

ParameterTypeDescription
tokenIdBigNumberish
quantityBigNumberish
addressToCheckstring(Optional)

Returns:

Promise<boolean>

Remarks

Check if a particular NFT can currently be claimed by a given user.