• Preparing search index...
  • The search index is not available
Lens SDK Reference
  • Lens SDK Reference
  • @lens-protocol/react-web
  • Core
  • useLastLoggedInProfile

Function useLastLoggedInProfile

  • useLastLoggedInProfile(args): ReadResult<Profile, NotFoundError | UnspecifiedError>
  • Fetch the last logged in profile for a wallet address.

    Parameters

    • args: LastLoggedInProfileRequest

    Returns ReadResult<Profile, NotFoundError | UnspecifiedError>

    Example

    const { data, error, loading } = useLastLoggedInProfile({
    for: '0x1234567890123456789012345678901234567890',
    });
    • Defined in packages/react/src/wallet/useLastLoggedInProfile.ts:31

Settings

Member Visibility

Theme

Lens SDK Reference
  • @lens-protocol/react-web - v2.3.2
  • @lens-protocol/react-native - v2.3.2
  • @lens-protocol/client - v2.3.2