Skip to main content

DelayedReveal class

Handles delayed reveal logic

Signature:

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

Constructors

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

Properties

PropertyModifiersTypeDescription
featureName"ERC1155" | "ERC721" | "ERC20" | "ERC20Burnable" | "ERC20Mintable" | "ERC20BatchMintable" | "ERC20ClaimConditionsV1" | "ERC20ClaimConditionsV2" | "ERC20ClaimPhasesV1" | "ERC20ClaimPhasesV2" | "ERC20SignatureMintable" | "ERC721Burnable" | "ERC721Supply" | "ERC721Enumerable" | "ERC721Mintable" | "ERC721BatchMintable" | "ERC721LazyMintable" | "ERC721Revealable" | "ERC721ClaimCustom" | "ERC721ClaimConditionsV1" | "ERC721ClaimConditionsV2" | "ERC721ClaimPhasesV1" | "ERC721ClaimPhasesV2" | "ERC721SignatureMintV1" | "ERC721SignatureMintV2" | "ERC721TieredDrop" | "ERC1155Burnable" | "ERC1155Enumerable" | "ERC1155Mintable" | "ERC1155BatchMintable" | "ERC1155LazyMintableV1" | "ERC1155ClaimPhasesV1" | "ERC1155LazyMintableV2" | "ERC1155Revealable" | "ERC1155ClaimCustom" | "ERC1155ClaimConditionsV1" | "ERC1155ClaimConditionsV2" | "ERC1155ClaimPhasesV2" | "ERC1155SignatureMintable" | "Royalty" | "PlatformFee" | "PrimarySale" | "Permissions" | "PermissionsEnumerable" | "ContractMetadata" | "AppURI" | "Ownable" | "Gasless" | "PackVRF" | "PluginRouter" | "DirectListings" | "EnglishAuctions" | "Offers"

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