> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dune.lens.publication_open_action_module

> Lens open action modules — collect, tip, and custom action configurations on publications.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

<Warning>
  **Deprecation Notice**: Lens data ingestion has been discontinued as of December 2025. Only historical data is available, and no new data will be added.
</Warning>

## Table description

The `dune.lens.publication_open_action_module` table holds the modules which have been attached to a publication.

## Table Schema

| Column Name        | Type      | Description                                                          |
| ------------------ | --------- | -------------------------------------------------------------------- |
| publication\_id    | varchar   | Publication ID the module is attached to (format: `profileId-pubId`) |
| id                 | varchar   | Unique identifier for this module instance                           |
| implementation     | varbinary | Contract address of the open action module                           |
| init\_data         | varbinary | Encoded initialization data passed to the module                     |
| init\_return\_data | varbinary | Data returned by the module after initialization                     |
| collect\_limit     | varchar   | Maximum number of collects allowed (null if unlimited)               |
| amount             | varchar   | Payment amount required to act on the publication                    |
| follower\_only     | boolean   | Whether the action is restricted to followers                        |
| currency           | varbinary | Token contract address for the payment currency                      |
| recipient          | varbinary | Address that receives payments                                       |
| referral\_fee      | varchar   | Percentage fee paid to referrers                                     |
| end\_timestamp     | timestamp | Deadline after which the action is no longer available               |
| vault              | varchar   | Vault address for revenue distribution (if applicable)               |
| tx\_hash           | varbinary | Transaction hash of the module setup                                 |
| block\_hash        | varbinary | Hash of the block containing the transaction                         |
| block\_number      | integer   | Block number of the transaction                                      |
| log\_index         | integer   | Index of the event log within the transaction                        |
| tx\_index          | integer   | Index of the transaction within the block                            |
| block\_timestamp   | timestamp | Timestamp of the block                                               |

## Table Sample

<TableSample tableSchema="dune.lens" tableName="publication_open_action_module" />
