Trait reth_rpc_api::clients::Web3ApiClient
source · pub trait Web3ApiClient: ClientT {
// Provided methods
fn client_version<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn sha3<'life0, 'async_trait>(
&'life0 self,
input: Bytes,
) -> Pin<Box<dyn Future<Output = Result<B256, Error>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Available on crate feature
client
only.Expand description
Client implementation for the Web3Api
RPC API.
Provided Methods§
Object Safety§
This trait is not object safe.