alloy_network_primitives/
tx_meta.rs

1use alloy_primitives::B256;
2
3/// Additional fields in the context of a block that contains an included transaction.
4#[derive(Debug, Clone, Default, Eq, PartialEq)]
5pub struct InclusionInfo {
6    /// The hash of the block.
7    pub block_hash: B256,
8    /// The block number.
9    pub block_number: u64,
10    /// The index of the transaction in the block.
11    pub transaction_index: u64,
12}