Skip to main content

DropClaimConditions class

Manages claim conditions for NFT Drop contracts

Signature:

export declare class DropClaimConditions<TContract extends DropERC721 | DropERC20 | BaseClaimConditionERC721 | BaseDropERC20 | SignatureDrop>

Constructors

ConstructorModifiersDescription
(constructor)(contractWrapper, metadata, storage)Constructs a new instance of the DropClaimConditions class

Methods

MethodModifiersDescription
canClaim(quantity, addressToCheck)Can Claim
getActive()Get the currently active claim condition
getAll()Get all the claim conditions
getClaimIneligibilityReasons(quantity, addressToCheck)For any claim conditions that a particular wallet is violating, this function returns human readable information about the breaks in the condition that can be used to inform the user.
set(claimConditionInputs, resetClaimEligibilityForAll)Set public mint conditions
update(index, claimConditionInput)Update a single claim condition with new data.