Skip to main content
Deprecation Notice: Lens data ingestion has been discontinued as of December 2025. Only historical data is available, and no new data will be added.

Table description

This holds all the SUCCESSFUL publication records, including Momoka publications; it also has a MIRROR|QUOTE|COMMENT|POST publication type, but the rest of the columns should explain itself. The definition of success to us is if it follows the metadata standard.

Table Schema

Column NameTypeDescription
publication_idvarcharUnique publication identifier (format: profileId-pubId)
contract_publication_idvarbinaryOn-chain publication ID from the Lens Hub contract
publication_typevarcharType of publication: POST, COMMENT, MIRROR, or QUOTE
profile_idvarbinaryProfile ID of the publication author
content_urivarcharURI pointing to the publication content/metadata
parent_publication_idvarcharPublication ID of the parent (for comments, quotes, mirrors)
root_publication_idvarcharPublication ID of the root post in the thread
is_hiddenbooleanWhether the publication has been hidden
is_momokabooleanWhether the publication was posted via Momoka (off-chain DA layer)
momoka_proofvarcharMomoka data availability proof (null for on-chain publications)
appvarcharApplication used to create the publication
gardener_flaggedbooleanWhether the publication was flagged by a gardener for moderation
transaction_executorvarbinaryAddress that executed the publication transaction
tx_hashvarbinaryTransaction hash (null for Momoka publications)
block_hashvarbinaryHash of the block containing the transaction
block_numberintegerBlock number of the transaction
log_indexintegerIndex of the event log within the transaction
tx_indexintegerIndex of the transaction within the block
block_timestamptimestampTimestamp of the block
is_comment_hidden_by_authorbooleanWhether a comment was hidden by the original post author

Table Sample