Function reth_primitives::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).