@lens-protocol/react
Version:
Interacting with the Lens Protocol API using React.
14 lines (13 loc) • 616 B
TypeScript
import { ClaimableProfilesResult } from '@lens-protocol/api-bindings';
import { ReadResult } from "../helpers/reads.js";
export type { ClaimableProfilesResult, ReservedClaimable } from '@lens-protocol/api-bindings';
/**
* `useCanClaimHandle` is React Hook that allows you to check if you can claim a handle.
*
* You MUST be authenticated with a {@link WalletOnlySession} via {@link useLogin} to use this hook.
*
* @experimental This hook is experimental and may change in future versions.
* @category Wallet
* @group Hooks
*/
export declare function useCanClaimHandle(): ReadResult<ClaimableProfilesResult>;