Log represents an protobuf compatible Ethereum Log that defines a contract log event. These events are generated by the LOG opcode and stored/indexed by the node.

Consensus fields:

Hierarchy

  • V1Log

Properties

address?: string

address of the contract that generated the event

block_hash?: string

hash of the block in which the transaction was included

block_number?: string

block in which the transaction was included

Format

uint64

data?: string

supplied by the contract, usually ABI-encoded

Format

byte

index?: string

index of the log in the block

Format

uint64

removed?: boolean

The Removed field is true if this log was reverted due to a chain reorganisation. You must pay attention to this field if you receive logs through a filter query.

topics?: string[]

list of topics provided by the contract.

tx_hash?: string

hash of the transaction

tx_index?: string

index of the transaction in the block

Format

uint64

Generated using TypeDoc