DelayedReveal
Handles delayed reveal logic
class DelayedReveal< T extends | DropERC721_V3 | BaseDelayedRevealERC721 | SignatureDrop | BaseDelayedRevealERC1155,> {}
function constructor( contractWrapper: ContractWrapper< | BaseDelayedRevealERC721 | BaseDelayedRevealERC1155 | DropERC721_V3 | SignatureDrop >, featureName: | "ERC1155" | "ERC721" | "ERC20ClaimConditionsV1" | "ERC20ClaimConditionsV2" | "ERC20ClaimPhasesV2" | "ERC20ClaimPhasesV1" | "ERC20Burnable" | "ERC20SignatureMintable" | "ERC20BatchMintable" | "ERC20Mintable" | "ERC20Permit" | "ERC20" | "ERC721Burnable" | "ERC721Revealable" | "ERC721TieredDrop" | "ERC721ClaimConditionsV1" | "ERC721ClaimConditionsV2" | "ERC721ClaimPhasesV1" | "ERC721ClaimPhasesV2" | "ERC721ClaimCustom" | "ERC721ClaimZora" | "ERC721LazyMintable" | "ERC721BatchMintable" | "ERC721Mintable" | "ERC721SignatureMintV2" | "ERC721SignatureMintV1" | "ERC721Enumerable" | "ERC721AQueryable" | "ERC721Supply" | "ERC721SharedMetadata" | "ERC721LoyaltyCard" | "ERC721UpdatableMetadata" | "ERC1155Burnable" | "ERC1155ClaimConditionsV1" | "ERC1155ClaimConditionsV2" | "ERC1155ClaimPhasesV2" | "ERC1155ClaimPhasesV1" | "ERC1155ClaimCustom" | "ERC1155Revealable" | "ERC1155LazyMintableV2" | "ERC1155LazyMintableV1" | "ERC1155SignatureMintable" | "ERC1155BatchMintable" | "ERC1155Mintable" | "ERC1155Enumerable" | "ERC1155UpdatableMetadata" | "ERC1155Supply" | "Royalty" | "PrimarySale" | "PlatformFee" | "PermissionsEnumerable" | "Permissions" | "ContractMetadata" | "AppURI" | "Ownable" | "Gasless" | "PackVRF" | "PluginRouter" | "DynamicContract" | "ModularCore" | "ModularExtension" | "DirectListings" | "EnglishAuctions" | "Offers" | "AccountFactory" | "AccountPermissionsV1" | "AccountPermissions" | "Account" | "AirdropERC20" | "AirdropERC721" | "AirdropERC1155" | "Fallback", nextTokenIdToMintFn: () => Promise<BigNumber>,
let featureName: | "ERC1155" | "ERC721" | "ERC20ClaimConditionsV1" | "ERC20ClaimConditionsV2" | "ERC20ClaimPhasesV2" | "ERC20ClaimPhasesV1" | "ERC20Burnable" | "ERC20SignatureMintable" | "ERC20BatchMintable" | "ERC20Mintable" | "ERC20Permit" | "ERC20" | "ERC721Burnable" | "ERC721Revealable" | "ERC721TieredDrop" | "ERC721ClaimConditionsV1" | "ERC721ClaimConditionsV2" | "ERC721ClaimPhasesV1" | "ERC721ClaimPhasesV2" | "ERC721ClaimCustom" | "ERC721ClaimZora" | "ERC721LazyMintable" | "ERC721BatchMintable" | "ERC721Mintable" | "ERC721SignatureMintV2" | "ERC721SignatureMintV1" | "ERC721Enumerable" | "ERC721AQueryable" | "ERC721Supply" | "ERC721SharedMetadata" | "ERC721LoyaltyCard" | "ERC721UpdatableMetadata" | "ERC1155Burnable" | "ERC1155ClaimConditionsV1" | "ERC1155ClaimConditionsV2" | "ERC1155ClaimPhasesV2" | "ERC1155ClaimPhasesV1" | "ERC1155ClaimCustom" | "ERC1155Revealable" | "ERC1155LazyMintableV2" | "ERC1155LazyMintableV1" | "ERC1155SignatureMintable" | "ERC1155BatchMintable" | "ERC1155Mintable" | "ERC1155Enumerable" | "ERC1155UpdatableMetadata" | "ERC1155Supply" | "Royalty" | "PrimarySale" | "PlatformFee" | "PermissionsEnumerable" | "Permissions" | "ContractMetadata" | "AppURI" | "Ownable" | "Gasless" | "PackVRF" | "PluginRouter" | "DynamicContract" | "ModularCore" | "ModularExtension" | "DirectListings" | "EnglishAuctions" | "Offers" | "AccountFactory" | "AccountPermissionsV1" | "AccountPermissions" | "Account" | "AirdropERC20" | "AirdropERC721" | "AirdropERC1155" | "Fallback";
Gets the list of unrevealed NFT batches.
Gets the list of unrevealed NFT batches.
const batches = await contract.revealer.getBatchesToReveal();
function createDelayedRevealBatch(placeholder: objectInputType<extendShape<{ animation_url: ZodNullable<ZodOptional<ZodUnion<[ZodUnion<[..., ...]>, ZodString]>>>; description: ZodNullable<ZodOptional<ZodNullable<ZodString>>>; image: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<[..., ...]>, ZodString]>>>; name: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodNumber]>>> }, { attributes: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<ZodArray<..., ...>, Array<...>, Array<...>>, ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">, ZodObject<{ }, "strip", ZodUnion<...>, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>]>>>; background_color: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodEffects<ZodString, string, string>, ZodString]>>>; external_url: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<[..., ...]>, ZodString]>>>; properties: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<ZodArray<..., ...>, Array<...>, Array<...>>, ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">, ZodObject<{ }, "strip", ZodUnion<...>, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>]>>> }>, ZodUnion<[ZodEffects<ZodUnion<[ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>, ZodType<BN, ZodTypeDef, BN>]>, string, bigint | (BN) | (BigNumber)>, ZodUnknown]>, "strip">, metadatas: Array<objectInputType<extendShape<{ animation_url: ZodNullable<ZodOptional<ZodUnion<[ZodUnion<...>, ZodString]>>>; description: ZodNullable<ZodOptional<ZodNullable<ZodString>>>; image: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<...>, ZodString]>>>; name: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodNumber]>>> }, { attributes: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<..., ..., ...>, ZodArray<..., ...>, ZodObject<..., ..., ..., ..., ...>]>>>; background_color: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodEffects<..., ..., ...>, ZodString]>>>; external_url: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<...>, ZodString]>>>; properties: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<..., ..., ...>, ZodArray<..., ...>, ZodObject<..., ..., ..., ..., ...>]>>> }>, ZodUnion<[ZodEffects<ZodUnion<[ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>, ZodType<BN, ZodTypeDef, BN>]>, string, bigint | (BN) | (BigNumber)>, ZodUnknown]>, "strip">>, password: string, options: { onProgress: (event: UploadProgressEvent) => void }) : Promise<TResult>
let placeholder: objectInputType<extendShape<{ animation_url: ZodNullable<ZodOptional<ZodUnion<[ZodUnion<[..., ...]>, ZodString]>>>; description: ZodNullable<ZodOptional<ZodNullable<ZodString>>>; image: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<[..., ...]>, ZodString]>>>; name: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodNumber]>>> }, { attributes: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<ZodArray<..., ...>, Array<...>, Array<...>>, ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">, ZodObject<{ }, "strip", ZodUnion<...>, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>]>>>; background_color: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodEffects<ZodString, string, string>, ZodString]>>>; external_url: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<[..., ...]>, ZodString]>>>; properties: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<ZodArray<..., ...>, Array<...>, Array<...>>, ZodArray<ZodObject<..., ..., ..., ..., ...>, "many">, ZodObject<{ }, "strip", ZodUnion<...>, objectOutputType<..., ..., ...>, objectInputType<..., ..., ...>>]>>> }>, ZodUnion<[ZodEffects<ZodUnion<[ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>, ZodType<BN, ZodTypeDef, BN>]>, string, bigint | (BN) | (BigNumber)>, ZodUnknown]>, "strip">
let metadatas: Array<objectInputType<extendShape<{ animation_url: ZodNullable<ZodOptional<ZodUnion<[ZodUnion<...>, ZodString]>>>; description: ZodNullable<ZodOptional<ZodNullable<ZodString>>>; image: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<...>, ZodString]>>>; name: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodNumber]>>> }, { attributes: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<..., ..., ...>, ZodArray<..., ...>, ZodObject<..., ..., ..., ..., ...>]>>>; background_color: ZodNullable<ZodOptional<ZodUnion<[ZodString, ZodEffects<..., ..., ...>, ZodString]>>>; external_url: ZodOptional<ZodNullable<ZodUnion<[ZodUnion<...>, ZodString]>>>; properties: ZodNullable<ZodOptional<ZodUnion<[ZodEffects<..., ..., ...>, ZodArray<..., ...>, ZodObject<..., ..., ..., ..., ...>]>>> }>, ZodUnion<[ZodEffects<ZodUnion<[ZodBigInt, ZodType<BigNumber, ZodTypeDef, BigNumber>, ZodType<BN, ZodTypeDef, BN>]>, string, bigint | (BN) | (BigNumber)>, ZodUnknown]>, "strip">>
Preparable
You can also prepare the transaction without executing it by calling createDelayedRevealBatch.prepare()
with same arguments. Learn more
function reveal( batchId: BigNumberish, password: string,): Promise<TResult>;
Preparable
You can also prepare the transaction without executing it by calling reveal.prepare()
with same arguments. Learn more
let featureName: | "ERC1155" | "ERC721" | "ERC20ClaimConditionsV1" | "ERC20ClaimConditionsV2" | "ERC20ClaimPhasesV2" | "ERC20ClaimPhasesV1" | "ERC20Burnable" | "ERC20SignatureMintable" | "ERC20BatchMintable" | "ERC20Mintable" | "ERC20Permit" | "ERC20" | "ERC721Burnable" | "ERC721Revealable" | "ERC721TieredDrop" | "ERC721ClaimConditionsV1" | "ERC721ClaimConditionsV2" | "ERC721ClaimPhasesV1" | "ERC721ClaimPhasesV2" | "ERC721ClaimCustom" | "ERC721ClaimZora" | "ERC721LazyMintable" | "ERC721BatchMintable" | "ERC721Mintable" | "ERC721SignatureMintV2" | "ERC721SignatureMintV1" | "ERC721Enumerable" | "ERC721AQueryable" | "ERC721Supply" | "ERC721SharedMetadata" | "ERC721LoyaltyCard" | "ERC721UpdatableMetadata" | "ERC1155Burnable" | "ERC1155ClaimConditionsV1" | "ERC1155ClaimConditionsV2" | "ERC1155ClaimPhasesV2" | "ERC1155ClaimPhasesV1" | "ERC1155ClaimCustom" | "ERC1155Revealable" | "ERC1155LazyMintableV2" | "ERC1155LazyMintableV1" | "ERC1155SignatureMintable" | "ERC1155BatchMintable" | "ERC1155Mintable" | "ERC1155Enumerable" | "ERC1155UpdatableMetadata" | "ERC1155Supply" | "Royalty" | "PrimarySale" | "PlatformFee" | "PermissionsEnumerable" | "Permissions" | "ContractMetadata" | "AppURI" | "Ownable" | "Gasless" | "PackVRF" | "PluginRouter" | "DynamicContract" | "ModularCore" | "ModularExtension" | "DirectListings" | "EnglishAuctions" | "Offers" | "AccountFactory" | "AccountPermissionsV1" | "AccountPermissions" | "Account" | "AirdropERC20" | "AirdropERC721" | "AirdropERC1155" | "Fallback";