Learn more about the architecture of the Lens platform.

Below is a high-level diagram of the main components of the Lens platform.

Lens SDKBig QueryEVM NetworkArweaveLens APIMomokaLens ProtocolPeriodic SyncQuery/MutateRelay on MomokaStore data + proofsExecute onRelay on-chainIndexIndex

Lens SDKs

The Lens SDK provides a unified interface for all Lens features. It is the recommended method for integrating with Lens if your dApp uses TS/JS.

Lens API

The Lens API provides a cohesive interface to access to data from the Lens Protocol and Momoka. It also enables the use of Sponsored Transactions and a Signless Experience, in addition to other off-chain features such as bookmarks, reactions, recommendations, and more.


The Momoka Optimistic Data Scaling solution is responsible for storing Momoka Publications, generating proofs, and notify the Lens API of new data.

Momoka transactions are stored in a Data Availability layer, specifically Arweave. These transactions contain information such as:

  • The reference blockchain block number and block hash at the time of transaction creation

  • Details about the publication

  • The user's signature, or the Profile Manager's signature if delegated

  • Other essential details

This data is structured in a way that allows for full verification using blockchain data from an archive node.

Lens Protocol

The Lens Protocol forms the core of the Lens platform. It is a set of smart contracts that ensure the integrity and decentralization of the Lens platform.


BigQuery offers an alternative integration method, providing direct access to the normalized data from the Lens API databases. This data is synchronized every 15 minutes.