Jump to Content
Lens Protocol
Guides
Lens Protocol

Documentation

  • What is Lens? 🌿
  • Overview
  • Deployed Contract Addresses
  • FAQ

Major Concepts

  • Profile
  • Publication
  • Comment
  • Mirror
  • Collect
  • Follow
  • Built-In Governance
  • Community Multisig

Walkthrough

  • Primer
  • Quick Setup
  • Deploying the Protocol
  • Unpausing the Protocol
  • Creating a Profile
  • Publishing Posts
  • Following Profiles
  • Collecting Publications

Creating a Module

  • Introduction to Modules
  • Creating a Module
  • Testing a Module

Specification

  • LensHub.sol
    • State Changing Functions
    • View Functions
  • Follow Modules
  • Reference Modules
  • Collect Modules
  • Events

Lens API

  • Introduction
  • API links
  • Querying from an Application
    • Apollo client
    • URQL
  • Authentication
    • Login
    • Refresh JWT
    • Verify JWT
  • Dispatcher
    • Create set dispatcher typed data
  • Explore
    • Explore publications
    • Explore profiles
  • Follow
    • Create follow typed data
    • Create unfollow typed data
    • Create set follow module typed data
    • Create set follow NFT Uri typed data
    • Pending approval follows
    • Does follow
    • Following
    • Followers
    • Follower NFT owned token ids
    • Is followed by me
    • Is following
  • Health
    • Ping
  • Indexer
    • Has transaction been indexed
  • Module
    • Create collected typed data
    • Enabled modules currencies
    • Enabled modules
    • Approved allowance of modules
    • Generate module currency approval data
  • NFTs
    • Get Users NFTs
    • NFT ownership challenge
  • Notification
    • Users notifications
  • Profile
    • Create profile
    • Get default profile
    • Get profiles
    • Get profile
    • Recommended profiles
    • Create set update profile metadata typed data
    • Create set profile image URI typed data
    • Create burn profile typed data
    • Create set default profile typed data
  • Protocol stats
    • Global protocol stats
  • Publication
    • Metadata standards
    • Create post typed data
    • Create comment typed data
    • Create mirror typed data
    • Get publications
    • Get publication
    • Has mirrored publication
    • Has collected publication
    • Hide publication
    • Who collected publication
  • Reactions
    • Add reaction
    • Remove reaction
    • Get reaction
  • Reporting
    • Report publication
  • Revenue
    • Profile revenue
    • Publication revenue
  • Search
    • Search profiles or publications
  • Timeline
    • User timeline
  • General information
    • Why our own indexer?
    • How do we index?
    • How do we cache?
    • What database do we use?
    • What is the backend code ?
    • Why GraphQL?

Follow

Suggest Edits

Follow resolver contains anything relating with the profiles follow actions. Every time someone follows it mints an NFT, you can read more in-depth about how follows work here.

The follow resolver have these queries:

  • Create follow typed data
  • Create unfollow typed data
  • Approve follow
  • Pending approval follows
  • Does follow
  • Following
  • Followers

Updated 5 months ago


Did this page help you?