reth::rpc::api::clients

Trait EthCallBundleApiClient

pub trait EthCallBundleApiClient: ClientT {
    // Provided method
    fn call_bundle<'life0, 'async_trait>(
        &'life0 self,
        request: EthCallBundle,
    ) -> Pin<Box<dyn Future<Output = Result<EthCallBundleResponse, Error>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: Sync + 'async_trait { ... }
}
Available on crate feature client only.
Expand description

Client implementation for the EthCallBundleApi RPC API.

Provided Methods§

fn call_bundle<'life0, 'async_trait>( &'life0 self, request: EthCallBundle, ) -> Pin<Box<dyn Future<Output = Result<EthCallBundleResponse, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: Sync + 'async_trait,

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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

§

impl<TypeJsonRpseeInteral> EthCallBundleApiClient for TypeJsonRpseeInteral
where TypeJsonRpseeInteral: ClientT,