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"ERC721Burnable" | "ERC721Revealable" | "ERC721Claimable" | "ERC721Droppable" | "ERC721BatchMintable" | "ERC721Mintable" | "ERC721SignatureMint" | "ERC721Enumerable" | "ERC721Supply" | "ERC721" | "ERC20Droppable" | "ERC20Burnable" | "ERC20SignatureMintable" | "ERC20BatchMintable" | "ERC20Mintable" | "ERC20" | "ERC1155Burnable" | "ERC1155Claimable" | "ERC1155Droppable" | "ERC1155Revealable" | "ERC1155SignatureMintable" | "ERC1155BatchMintable" | "ERC1155Mintable" | "ERC1155Enumerable" | "ERC1155" | "Royalty" | "PrimarySale" | "PlatformFee" | "Permissions" | "ContractMetadata"

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