Adds a publication to the profile's bookmarks.
⚠️ Requires authenticated LensClient.
Request object for the mutation
PromiseResult with void
const result = await client.publication.bookmarks.add({
on: '0x123-0x456',
});
Fetch all publications bookmarked by authenticated profile.
⚠️ Requires authenticated LensClient.
Request object for the query
Publications wrapped in PaginatedResult
const result = await client.publication.bookmarks.fetch();
Removes a publication from the profile's bookmarks.
⚠️ Requires authenticated LensClient.
Request object for the mutation
PromiseResult with void
const result = await client.publication.bookmarks.remove({
on: '0x123-0x456',
});
Bookmarks are the posts, comments and mirrors saved in a dedicated list private to each profile.