Skip to main content

useDelayedRevealLazyMint() function

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

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

Signature:

export declare function useDelayedRevealLazyMint<TContract extends NFTContract>(
contract: RequiredParam<TContract>,
onProgress?: (progress: UploadProgressEvent) => void,
): import("@tanstack/react-query").UseMutationResult<
import("@thirdweb-dev/sdk/dist/browser").TransactionResultWithId<never>[],
unknown,
DelayedRevealLazyMintInput,
unknown
>;

Parameters

ParameterTypeDescription
contractRequiredParam<TContract>an instance of a NFTContract with the drop extension
onProgress(progress: UploadProgressEvent) => void(Optional) an optional callback that will be called with the progress of the upload

Returns:

import("@tanstack/react-query").UseMutationResult<import("@thirdweb-dev/sdk/dist/browser").TransactionResultWithId<never>[], unknown, DelayedRevealLazyMintInput, unknown>

a mutation object that can be used to lazy mint a batch of NFTs