fix: eth_feehistory reward is optional (#1127)
This commit is contained in:
parent
876a19d636
commit
119956925d
|
@ -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<Vec<U256>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue