A hook to get a call bundle's current status according to EIP-5792 .
This function is dependent on the wallet's support for EIP-5792 and could throw an error if it's not supported.
import { useCallsStatus } from "thirdweb/react";const { data: status, isLoading } = useCallsStatus({ bundleId, client,});
function useCallsStatus(options: { bundleId: string; client: ThirdwebClient; queryOptions?: { enabled?: boolean; retry?: number };}): UseQueryResult<GetCallsStatusResponse>;
let options: { bundleId: string; client: ThirdwebClient; queryOptions?: { enabled?: boolean; retry?: number };};
let returnType: UseQueryResult<GetCallsStatusResponse>;
a React Query object.