Skip to main content

useRevealLazyMint() function

This feature is currently in beta and may change based on feedback that we receive.

Use this to reveal a batch of delayed reveal NFTs on your DropContract

Signature:

export declare function useRevealLazyMint<TContract extends NFTContract>(
contract: RequiredParam<TContract>,
): import("@tanstack/react-query").UseMutationResult<
Omit<
{
receipt: import("@ethersproject/abstract-provider").TransactionReceipt;
data: () => Promise<unknown>;
},
"data"
>,
unknown,
RevealLazyMintInput,
unknown
>;

Parameters

ParameterTypeDescription
contractRequiredParam<TContract>an instance of a NFTContract with the drop extension

Returns:

import("@tanstack/react-query").UseMutationResult<Omit<{ receipt: import("@ethersproject/abstract-provider").TransactionReceipt; data: () => Promise<unknown>; }, "data">, unknown, RevealLazyMintInput, unknown>

a mutation object that can be used to reveal a batch of delayed reveal NFTs