Recovery · pause / withdrawuseQuery
useIsPaused
Read the singleton's paused flag.
Import
@tokenops/sdk/fhe-disperse/reactReturn
{ data, isLoading, error, refetch }Lifecycle
Recovery · pause / withdrawDescription
Read the singleton's paused flag. When true, all disperse operations
revert until a PAUSER_ROLE member calls unpause().
Signature
@tokenops/sdk/fhe-disperse/react
ts
function useIsPaused(options?: BaseHookOptions): UseQueryResult<boolean, Error>;Example
@tokenops/sdk/fhe-disperse/react · @example
tsx
const { data: paused } = useIsPaused();
if (paused) { /* disable submit button *\/ }Pulled directly from the hook's TSDoc block — the same snippet your IDE shows on hover.
See also
Other Recovery · pause / withdraw hooks in disperse:
useRecoverFromWalletsRecover residual confidential ERC-7984 tokens from the caller's registered wallets to to.useRecoverERC20FromWalletsRecover ERC-20 tokens accidentally sent to the caller's registered wallets.usePauseAdmin: pause all disperse operations on the singleton.useUnpauseAdmin: unpause the singleton.