Skip to main content

useBatchesToReveal() function

Signature:

export declare function useBatchesToReveal<TContract extends NFTContract>(
contract: RequiredParam<TContract>,
): import("@tanstack/react-query").UseQueryResult<
import("@thirdweb-dev/sdk/dist/browser").BatchToReveal[],
unknown
>;

Parameters

ParameterTypeDescription
contractRequiredParam<TContract>an instance of a NFTContract

Returns:

import("@tanstack/react-query").UseQueryResult<import("@thirdweb-dev/sdk/dist/browser").BatchToReveal[], unknown>

a response object that gets the batches to still be revealed