pub trait MevSimApiClient: ClientT {
// Provided method
fn sim_bundle(
&self,
bundle: MevSendBundle,
sim_overrides: SimBundleOverrides,
) -> impl Future<Output = Result<SimBundleResponse, Error>> + Send { ... }
}Expand description
Client implementation for the MevSimApi RPC API.
Provided Methods§
Sourcefn sim_bundle(
&self,
bundle: MevSendBundle,
sim_overrides: SimBundleOverrides,
) -> impl Future<Output = Result<SimBundleResponse, Error>> + Send
fn sim_bundle( &self, bundle: MevSendBundle, sim_overrides: SimBundleOverrides, ) -> impl Future<Output = Result<SimBundleResponse, Error>> + Send
Similar to mev_sendBundle but instead of submitting a bundle to the relay, it returns
a simulation result. Only fully matched bundles can be simulated.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".