typescript-sdk

Home > @3rdweb/sdk > DropModule > canClaim

DropModule.canClaim() method

Can Claim

Signature:

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

Parameters

Parameter Type Description
quantity BigNumberish  
addressToCheck string  

Returns:

Promise<boolean>

Remarks

Check if the drop can currently be claimed.

Example

// Quantity of tokens to check if they are claimable
const quantity = 1;

await module.canClaim(quantity);