ReaduseQuery Curated
useIsRegistered
Has this deployer already called register?
Import
@tokenops/sdk/fhe-disperse/reactReturn
{ data, isLoading, error, refetch }Lifecycle
ReadDescription
Check whether a user has already called register(token) and has a
deployed wallet pair on the singleton.
Signature
@tokenops/sdk/fhe-disperse/react
ts
function useIsRegistered(args?: UseIsRegisteredArgs): UseQueryResult<boolean, Error>;Parameters
Shape of the options object passed to the hook itself.
| Property | Type | Description |
|---|---|---|
| user | Address | The user to check registration for. Hook is disabled until set. |
Example
@tokenops/sdk/fhe-disperse/react · @example
tsx
const { data: isRegistered } = useIsRegistered({ user });Pulled directly from the hook's TSDoc block — the same snippet your IDE shows on hover.
See also
Other Read hooks in disperse:
useGetWalletsRead the deployer's two registered subwallet addresses.useGetFeesRead consolidated fee information for user — combines per-user resolved fees (getFeeAmounts) with the global feeConfig toggles in one read.useGetFeeConfigRead the singleton's { gasFeeEnabled, tokenFeeEnabled, defaultGasFee, defaultTokenFee } fee config.useGetBatchLimitsRead the maximum batch size for each of the three disperse modes ("wallet", "direct", "wallet-token-fee").