pub type AlloyLog = Log;
Aliased Type§
struct AlloyLog {
pub inner: Log,
pub block_hash: Option<FixedBytes<32>>,
pub block_number: Option<u64>,
pub block_timestamp: Option<u64>,
pub transaction_hash: Option<FixedBytes<32>>,
pub transaction_index: Option<u64>,
pub log_index: Option<u64>,
pub removed: bool,
}
Fields§
§inner: Log
Consensus log object
block_hash: Option<FixedBytes<32>>
Hash of the block the transaction that emitted this log was mined in
block_number: Option<u64>
Number of the block the transaction that emitted this log was mined in
block_timestamp: Option<u64>
The timestamp of the block as proposed in: https://ethereum-magicians.org/t/proposal-for-adding-blocktimestamp-to-logs-object-returned-by-eth-getlogs-and-related-requests https://github.com/ethereum/execution-apis/issues/295
transaction_hash: Option<FixedBytes<32>>
Transaction Hash
transaction_index: Option<u64>
Index of the Transaction in the block
log_index: Option<u64>
Log Index in Block
removed: bool
Geth Compatibility Field: whether this log was removed