diff --git a/ethers-core/src/types/fee.rs b/ethers-core/src/types/fee.rs index 1152cf01..f05df7e2 100644 --- a/ethers-core/src/types/fee.rs +++ b/ethers-core/src/types/fee.rs @@ -14,6 +14,9 @@ pub struct FeeHistory { /// The custom deserializer allows backward compatibility for those clients /// not running v1.10.7 yet. pub oldest_block: U256, + /// An (optional) array of effective priority fee per gas data points from a single block. All + /// zeroes are returned if the block is empty. + #[serde(default)] pub reward: Vec>, }