pub trait EthCallBundleApiServer:
Sized
+ Send
+ Sync
+ 'static {
// Required method
fn call_bundle(
&self,
request: EthCallBundle,
) -> impl Future<Output = Result<EthCallBundleResponse, ErrorObject<'static>>> + Send;
// Provided method
fn into_rpc(self) -> RpcModule<Self> { ... }
}Available on crate feature
rpc only.Expand description
Server trait implementation for the EthCallBundleApi RPC API.
Required Methods§
Sourcefn call_bundle(
&self,
request: EthCallBundle,
) -> impl Future<Output = Result<EthCallBundleResponse, ErrorObject<'static>>> + Send
fn call_bundle( &self, request: EthCallBundle, ) -> impl Future<Output = Result<EthCallBundleResponse, ErrorObject<'static>>> + Send
eth_callBundle can be used to simulate a bundle against a specific block number,
including simulating a bundle at the top of the next block.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".