v2.0.0-rc.1 release candidate
The API is frozen and later candidates carry fixes only, except the receipt-free and Safe create surface of /fhe-airdrop, which is @beta. Published on the next dist-tag; latest stays on 1.6.0 until 2.0.0.Shared by every product
These hooks live on @tokenops/sdk/fhe/react because they work the same for vesting, airdrop and disperse. The vesting and disperse react subpaths re-export useIsOperator and useEnsureOperator; the airdrop react subpath does not, so import them from /fhe/react there.Cross-product · Hooks · 3
Every cross-product method, as a hook.
Filter by lifecycle (where in the flow), TanStack shape (how to wire it), or encryptor dependency. Import path is @tokenops/sdk/fhe/react.
Lifecycle
Return shape
Encryptor
3 hooks
Group:
Write · 1
Headline writes — submit a tx through the connected wallet.
Encrypted read · 1
Returns a ciphertext handle. Some are useQuery; some are useMutation (FHE.allow grants ACL inside a tx). Pair with useDecryptedHandle.
Read · 1
Plaintext on-chain reads. TanStack Query envelope, cached + refetched.