Skip to main content

Table of contents

The eth_mainnet.logs Logs tables store all logs data that gets generated by smart contracts.

Columns

NameTypeDescription
tx_hashvarcharThe transaction hash of the transaction that produced this log
tx_indexintegerThe index position of the transaction in this block (cumulative amount of transactions ordered by execution)
block_hashvarcharA unique identifier for that block
block_numberintegerThe length of the blockchain in blocks
timestampintegerThe block time
block_timedateThe time when the block was mined that includes this log
log_indexintegerThis logs index position in the block (cumulative amount of logs ordered by execution)
contract_addressvarcharThe address of the contract that emitted the log
datavarcharUnindexed data containing further information on the event
topic0varcharKeccak256 hash of a flattened event declaration string
topic1varcharSecond indexed topic of the event
topic2varcharThird indexed topic of the event
topic3varcharFourth indexed topic of the event
removedvarcharN/A
ymvarcharYear month