typescript-sdk

Home > @3rdweb/sdk > ClaimConditionFactory

ClaimConditionFactory class

Signature:

declare class ClaimConditionFactory 

Constructors

Constructor Modifiers Description
(constructor)(createSnapshotFunc)   Constructs a new instance of the ClaimConditionFactory class

Methods

Method Modifiers Description
allSnapshots()   Helper method fetches all snapshots from a factory.
deleteClaimPhase(index)   Removes a claim condition phase from the factory.
fromPublicClaimConditions(conditions)   Converts a set of generic PublicClaimConditions into a ClaimConditionFactory
newClaimPhase({ startTime, maxQuantity, maxQuantityPerTransaction, })   Creates a new claim ‘phase’ with its own set of claim conditions
removeClaimPhase(_index)