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

The dune.lens.publication_reference_module table holds any reference modules that have been attached to a publication.

Table Schema

Column NameTypeDescription
publication_idvarcharPublication ID the module is attached to (format: profileId-pubId)
implementationvarbinaryContract address of the reference module
init_datavarbinaryEncoded initialization data passed to the module
comments_restrictedbooleanWhether commenting is restricted by this module
mirrors_restrictedbooleanWhether mirroring is restricted by this module
degrees_of_separationintegerMaximum degrees of separation allowed for interaction
block_timestamptimestampTimestamp of the block
block_hashvarbinaryHash of the block containing the transaction
quotes_restrictedbooleanWhether quoting is restricted by this module
source_profile_idvarbinaryProfile ID from which degrees of separation are measured
followers_onlybooleanWhether interactions are limited to followers only
init_return_datavarbinaryData returned by the module after initialization
tx_hashvarbinaryTransaction hash of the module setup
log_indexintegerIndex of the event log within the transaction
tx_indexintegerIndex of the transaction within the block
block_numberintegerBlock number of the transaction

Table Sample