Allow resolution of base fee

This commit is contained in:
Omar Abdulla
2025-08-06 15:27:40 +03:00
parent 8619e7feb0
commit f9060772c3
5 changed files with 80 additions and 18 deletions
+3
View File
@@ -19,6 +19,9 @@ pub trait ResolverApi {
/// Returns the difficulty of the specified block.
fn block_difficulty(&self, number: BlockNumberOrTag) -> impl Future<Output = Result<U256>>;
/// Returns the base fee of the specified block.
fn block_base_fee(&self, number: BlockNumberOrTag) -> impl Future<Output = Result<u64>>;
/// Returns the hash of the specified block.
fn block_hash(&self, number: BlockNumberOrTag) -> impl Future<Output = Result<BlockHash>>;