reth_primitives

Function gas_spent_by_transactions

Source
pub fn gas_spent_by_transactions<T: Deref<Target = Receipt>>(
    receipts: impl IntoIterator<Item = T>,
) -> Vec<(u64, u64)>
Expand description

Retrieves gas spent by transactions as a vector of tuples (transaction index, gas used).