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

Function useBookmarks

  • useBookmarks(args?): PaginatedReadResult<AnyPublication[]>
  • useBookmarks is a paginated hook that lets you fetch the bookmarks of a profile owned by the logged in wallet.

    You MUST be authenticated via useLogin to use this hook.

    Parameters

    • args: {
          limit?: InputMaybe<LimitType>;
          where?: InputMaybe<PublicationBookmarksWhere>;
      } = {}

      UseBookmarksArgs

      • Optional limit?: InputMaybe<LimitType>
      • Optional where?: InputMaybe<PublicationBookmarksWhere>

    Returns PaginatedReadResult<AnyPublication[]>

    Example

    const { data, loading, error } = useBookmarks();
    
    • Defined in packages/react/src/publication/useBookmarks.ts:28

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