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

# hyperevm.logs

> Smart contract event logs on HyperEVM — indexed topics and data fields from token transfers, swaps, and protocol actions.

## Table Description

The `hyperevm.logs` table represents the logs generated by the Ethereum Virtual Machine (EVM) when a contract is executed. Logs are a way to store data on the blockchain. Logs originate from events that occur during the execution of a smart contract. A log consists of:
<ul><li>topic list: a list of 0 to 3 32-byte data topics. `Topic0` is the hash of the signature of the event (indexed), and the remaining topics are indexed parameters of the event.</li>
<li>data: contains non-indexed data.</li></ul>

> [!TIP]
>
> This is the raw version of this table. If the chain is a Fully Managed chain, decoded transaction calls will be available, see [call tables](https://docs.dune.com/data-catalog/evm/hyperevm/decoded/call-tables) section. If this is a Hosted chain, decoded call tables will not be available.

## Column Descriptions

<table><thead><tr><th>Column</th><th>Type</th><th>Description</th></tr></thead>
<tbody><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>`block_hash`</td><td>`varbinary`</td><td>Hash of the block containing this log</td></tr>
<tr><td>`contract_address`</td><td>`varbinary`</td><td>Address of the contract that emitted the log</td></tr>
<tr><td>`topic0`</td><td>`varbinary`</td><td>Event signature hash (first indexed topic)</td></tr>
<tr><td>`topic1`</td><td>`varbinary`</td><td>First indexed event parameter</td></tr>
<tr><td>`topic2`</td><td>`varbinary`</td><td>Second indexed event parameter</td></tr>
<tr><td>`topic3`</td><td>`varbinary`</td><td>Third indexed event parameter</td></tr>
<tr><td>`data`</td><td>`varbinary`</td><td>Non-indexed event data</td></tr>
<tr><td>`tx_hash`</td><td>`varbinary`</td><td>Hash of the transaction that generated this log</td></tr>
<tr><td>`index`</td><td>`integer`</td><td>Position of the log within the block</td></tr>
<tr><td>`tx_index`</td><td>`integer`</td><td>Position of the transaction within the block</td></tr>
<tr><td>`block_date`</td><td>`date`</td><td>Date of the block (UTC)</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>`blob_gas_price`</td><td>`bigint`</td><td>Blob gas price of the transaction (EIP-4844)</td></tr>
<tr><td>`blob_gas_used`</td><td>`bigint`</td><td>Blob gas used by the transaction (EIP-4844)</td></tr></tbody></table>

## Table Sample

[https://dune.com/embeds/3419983/5785629?table\_schema\_t6f0df=hyperevm\&table\_name\_t6f0df=logs](https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=hyperevm\&table_name_t6f0df=logs)

## Examples

### Filter the logs for a specific contract

<pre>`SELECT *
FROM hyperevm.logs
WHERE contract_address = 0x06012c8cf97bead5deae237070f9587f8e7a266d
LIMIT 10`</pre>

### Filter the logs for a specific topic

<pre>`SELECT *
FROM hyperevm.logs
WHERE topic0 = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef`</pre>

### Show the logs of a specific block

<pre>`SELECT *
FROM hyperevm.logs
WHERE evt_block_number = 1000000`</pre>


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