Skip to main content

useBatchesToReveal() function

Signature:

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

Parameters

ParameterTypeDescription
contractRequiredParam<TContract>an instance of a RevealableContract

Returns:

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

a response object that gets the batches to still be revealed