A hook to get a call bundle's current status according to EIP-5792 .
import { useCallsStatus } from "thirdweb/react";const { data: status, isLoading } = useCallsStatus({ bundleId, client,});
function useCallsStatus(options: { bundleId: string; client: ThirdwebClient; queryOptions?: Pick< UseQueryOptions<unknown, Error, unknown, QueryKey>, "enabled" | "retry" >;}): UseQueryResult<GetCallsStatusResponse>;
let options: { bundleId: string; client: ThirdwebClient; queryOptions?: Pick< UseQueryOptions<unknown, Error, unknown, QueryKey>, "enabled" | "retry" >;};
let returnType: UseQueryResult<GetCallsStatusResponse>;
a React Query object.