pub fn calculate_reward_percentiles_for_block<T, R>(
percentiles: &[f64],
base_fee_per_gas: u64,
transactions: &[T],
receipts: &[R],
) -> Result<Vec<u128>, EthApiError>where
T: Transaction,
R: TxReceipt,Available on crate feature
rpc only.Expand description
Calculates reward percentiles for transactions in a block.
The results are returned as a vector of u128 values.