> ## 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.

# somnia.logs_decoded

> ABI-decoded event logs on Somnia — human-readable event names and parsed parameters from verified contracts.



\## Table Description


    

The `logs_decoded` table contains decoded logs from somnia transactions — that is, only logs emitted by contracts whose ABI has been registered with Dune. The table matches `topic0` to the event signature and the corresponding event name.
       The table does not contain the full event data and is not suitable for analysis of smart contract level data. For that, use the specific event tables as described in [Event Logs](https://docs.dune.com/data-catalog/evm/somnia/decoded/event-logs.md).


    

\> [!NOTE]
\>
\> **Coverage is limited to decoded contracts.** Logs from contracts whose ABI has not been submitted to Dune do not appear in this table at all (the rows are missing, not just empty). If a contract you care about is not decoded yet, anyone can [submit it for decoding](https://docs.dune.com/web-app/decoding/decoding-contracts.md) — once accepted, its logs start showing up here automatically.


    

This table is great for gaining a high level understanding of the types of events that are being emitted by a smart contract or smart contracts of a certain protocol.


    

\> [!TIP]
\>
\> **Need `decoded_json` on somnia?** Some chains expose a `decoded_json` column on `logs_decoded` that contains the full event payload as JSON, removing the need to join the per-event tables. We can enable it for somnia on request — reach out via the [Dune enterprise contact form](https://dune.com/enterprise#contact-form).


    

\## Column Descriptions


    \<table><thead><tr><th>Column</th><th>Type</th><th>Description</th></tr></thead>
      \<tbody><tr><td>`block_date`</td><td>`date`</td><td>Date of the block (UTC)</td></tr>
        \<tr><td>`block_time`</td><td>`timestamp`</td><td>Timestamp of the block containing this log</td></tr>
        \<tr><td>`block_number`</td><td>`bigint`</td><td>Block number containing this log</td></tr>
        \<tr><td>`namespace`</td><td>`varchar`</td><td>Project namespace (e.g., uniswap_v3)</td></tr>
        \<tr><td>`contract_name`</td><td>`varchar`</td><td>Name of the contract that emitted the event</td></tr>
        \<tr><td>`contract_address`</td><td>`varbinary`</td><td>Address of the contract that emitted the event</td></tr>
        \<tr><td>`tx_hash`</td><td>`varbinary`</td><td>Hash of the transaction containing this log</td></tr>
        \<tr><td>`tx_from`</td><td>`varbinary`</td><td>Address that initiated the transaction</td></tr>
        \<tr><td>`tx_to`</td><td>`varbinary`</td><td>Address the transaction was sent to</td></tr>
        \<tr><td>`tx_index`</td><td>`integer`</td><td>Position of the transaction within the block</td></tr>
        \<tr><td>`index`</td><td>`integer`</td><td>Position of the log within the block</td></tr>
        \<tr><td>`signature`</td><td>`varbinary`</td><td>Event signature hash (topic0)</td></tr>
        \<tr><td>`event_name`</td><td>`varchar`</td><td>Decoded name of the event</td></tr>
        
        \<tr><td>`created_at`</td><td>`timestamp`</td><td>When this record was created in Dune</td></tr></tbody></table>
    

\## Table Sample


    
    
    

\[https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=somnia&table_name_t6f0df=logs_decoded](https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=somnia&table_name_t6f0df=logs_decoded)



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.