diff --git a/crates/rpc/rpc/src/eth/api/fees.rs b/crates/rpc/rpc/src/eth/api/fees.rs index 5d8cbc4d1f..08822b5840 100644 --- a/crates/rpc/rpc/src/eth/api/fees.rs +++ b/crates/rpc/rpc/src/eth/api/fees.rs @@ -132,7 +132,11 @@ where }) } - // todo: docs + /// Calculates reward percentiles for transactions in a block header. + /// Given a list of percentiles and a sealed block header, this function computes + /// the corresponding rewards for the transactions at each percentile. + /// + /// The results are returned as a vector of U256 values. async fn calculate_reward_percentiles( &self, percentiles: &[f64],