useRevealLazyMint
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 RevealableContract
Signature:
export declare function useRevealLazyMint<TContract extends RevealableContract>(contract: RequiredParam<TContract>): import("@tanstack/react-query").UseMutationResult<Omit<{
receipt: import("@ethersproject/abstract-provider").TransactionReceipt;
data: () => Promise<unknown>;
}, "data">, unknown, RevealLazyMintInput, unknown>;
Parameters
Parameter | Type | Description |
---|---|---|
contract | RequiredParam<TContract> | an instance of a RevealableContract |
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