Recovery · pause / withdrawuseQuery
useManagerPaused
Read whether the manager clone is currently paused.
Import
@tokenops/sdk/fhe-vesting/reactReturn
{ data, isLoading, error, refetch }Lifecycle
Recovery · pause / withdrawSignature
@tokenops/sdk/fhe-vesting/react
ts
function useManagerPaused(options: ManagerHookOptions): UseQueryResult<boolean, Error>;Example
components/useManagerPausedExample.tsx
tsx
"use client";
import { useManagerPaused } from "@tokenops/sdk/fhe-vesting/react";
export function Example() {
const { data, isLoading } = useManagerPaused(/* args */);
if (isLoading) return "loading…";
return <pre>{JSON.stringify(data, null, 2)}</pre>;
}Auto-generated from the hook's shape (the SDK doesn't carry a TSDoc @example here yet).
See also
Other Recovery · pause / withdraw hooks in vesting:
useWithdrawAdminAdmin: withdraw an encrypted amount of the manager's distribution token to msg.sender.useWithdrawOtherTokenAdmin: rescue an ERC-20 (non-confidential) other than this manager's configured token.useWithdrawOtherConfidentialTokenAdmin: rescue an ERC-7984 (confidential) token other than this manager's configured token.useWithdrawGasFeeFee collector: withdraw collected gas-fee ETH (FeeType.Gas managers).