Skip to content

title: eth::MatchedEvent summary: A matched event: the original log decorated with block context.


eth::MatchedEvent

A matched event: the original log decorated with block context.

#include <event_filter.hpp>

Public Attributes

Name
codec::LogEntry log
The raw log entry.
uint64_t block_number
Block the log appeared in.
codec::Hash256 block_hash
Hash of that block (if known)
codec::Hash256 tx_hash
Transaction hash (if known)
uint32_t log_index
Position within the block's log set.
std::optional< uint32_t > receipt_log_index
Absolute zero-based position in receipt.logs.

Public Attributes Documentation

variable log

codec::LogEntry log;

The raw log entry.

variable block_number

uint64_t block_number;

Block the log appeared in.

variable block_hash

codec::Hash256 block_hash;

Hash of that block (if known)

variable tx_hash

codec::Hash256 tx_hash;

Transaction hash (if known)

variable log_index

uint32_t log_index;

Position within the block's log set.

variable receipt_log_index

std::optional< uint32_t > receipt_log_index;

Absolute zero-based position in receipt.logs.


Updated on 2026-08-06 at 13:59:18 +0000