Skip to main content

Table Description

The berachain.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

ColumnTypeDescription
block_timetimestampTimestamp of the block containing this log
block_numberbigintBlock number containing this log
block_hashvarbinaryHash of the block containing this log
contract_addressvarbinaryAddress of the contract that emitted the log
topic0varbinaryEvent signature hash (first indexed topic)
topic1varbinaryFirst indexed event parameter
topic2varbinarySecond indexed event parameter
topic3varbinaryThird indexed event parameter
datavarbinaryNon-indexed event data
tx_hashvarbinaryHash of the transaction that generated this log
indexintegerPosition of the log within the block
tx_indexintegerPosition of the transaction within the block
block_datedateDate of the block (UTC)
tx_fromvarbinaryAddress that initiated the transaction
tx_tovarbinaryAddress the transaction was sent to
blob_gas_pricebigintBlob gas price of the transaction (EIP-4844)
blob_gas_usedbigintBlob gas used by the transaction (EIP-4844)

Table Sample