Table Description
Theberachain.logs table represents the logs generated by the Ethereum Virtual Machine (EVM) when a contract is executed on Berachain. As an EVM-identical chain, Berachain maintains complete compatibility with Ethereum’s logging system while benefiting from its unique PoL consensus mechanism. Logs consist of:
- Topic list: a list of 0 to 4 32-byte data topics
- data: contains non-indexed data
Column Descriptions
| Column | Type | Description |
|---|---|---|
block_time | timestamp | Timestamp of the block containing this log |
block_number | bigint | Block number containing this log |
block_hash | varbinary | Hash of the block containing this log |
contract_address | varbinary | Address of the contract that emitted the log |
topic0 | varbinary | Event signature hash (first indexed topic) |
topic1 | varbinary | First indexed event parameter |
topic2 | varbinary | Second indexed event parameter |
topic3 | varbinary | Third indexed event parameter |
data | varbinary | Non-indexed event data |
tx_hash | varbinary | Hash of the transaction that generated this log |
index | integer | Position of the log within the block |
tx_index | integer | Position of the transaction within the block |
block_date | date | Date of the block (UTC) |
tx_from | varbinary | Address that initiated the transaction |
tx_to | varbinary | Address the transaction was sent to |
blob_gas_price | bigint | Blob gas price of the transaction (EIP-4844) |
blob_gas_used | bigint | Blob gas used by the transaction (EIP-4844) |