Skip to main content

DelayedReveal class

Handles delayed reveal logic

Signature:

export declare class DelayedReveal<T extends DropERC721 | BaseDelayedRevealERC721 | SignatureDrop | BaseDelayedRevealERC1155>

Constructors

ConstructorModifiersDescription
(constructor)(contractWrapper, storage, fetureName, nextTokenIdToMintFn)Constructs a new instance of the DelayedReveal class

Properties

PropertyModifiersTypeDescription
featureName"ERC20" | "ERC20Burnable" | "ERC20Mintable" | "ERC20BatchMintable" | "ERC20ClaimableWithConditions" | "ERC20SignatureMintable" | "ERC721" | "ERC721Burnable" | "ERC721Supply" | "ERC721Enumerable" | "ERC721Mintable" | "ERC721BatchMintable" | "ERC721LazyMintable" | "ERC721Revealable" | "ERC721Claimable" | "ERC721ClaimableWithConditions" | "ERC721SignatureMint" | "ERC1155" | "ERC1155Burnable" | "ERC1155Enumerable" | "ERC1155Mintable" | "ERC1155BatchMintable" | "ERC1155LazyMintable" | "ERC1155Claimable" | "ERC1155ClaimableWithConditions" | "ERC1155Revealable" | "ERC1155SignatureMintable" | "Royalty" | "PlatformFee" | "PrimarySale" | "Permissions" | "ContractMetadata" | "Ownable"

Methods

MethodModifiersDescription
createDelayedRevealBatch(placeholder, metadatas, password, options)Create a batch of encrypted NFTs that can be revealed at a later time.
getBatchesToReveal()Gets the list of unrevealed NFT batches.
reveal(batchId, password)Reveal a batch of hidden NFTs