diff --git a/crates/rpc-types-mev/src/eth_calls.rs b/crates/rpc-types-mev/src/eth_calls.rs index cfdc3cb19b1..4aa75b554b1 100644 --- a/crates/rpc-types-mev/src/eth_calls.rs +++ b/crates/rpc-types-mev/src/eth_calls.rs @@ -7,6 +7,7 @@ use serde::{Deserialize, Serialize}; /// Bundle of transactions for `eth_callBundle` /// /// +/// #[derive(Default, Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct EthCallBundle { @@ -20,6 +21,15 @@ pub struct EthCallBundle { /// the timestamp to use for this bundle simulation, in seconds since the unix epoch #[serde(default, with = "alloy_serde::quantity::opt", skip_serializing_if = "Option::is_none")] pub timestamp: Option, + /// gas limit of the block to use for this simulation + #[serde(default, with = "alloy_serde::quantity::opt", skip_serializing_if = "Option::is_none")] + pub gas_limit: Option, + /// difficulty of the block to use for this simulation + #[serde(default, skip_serializing_if = "Option::is_none")] + pub difficulty: Option, + /// basefee of the block to use for this simulation + #[serde(default, with = "alloy_serde::quantity::opt", skip_serializing_if = "Option::is_none")] + pub base_fee: Option, } /// Response for `eth_callBundle`