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
Parameter | Type | Description |
---|---|---|
tokenId | BigNumberish | |
quantity | BigNumberish | |
addressToCheck | string | (Optional) |
Returns:
Promise<boolean>
Remarks
Check if a particular NFT can currently be claimed by a given user.