Crate reth_rpc_eth_api

Source
Expand description

Reth RPC eth_ API implementation

§Feature Flags

  • client: Enables JSON-RPC client support.

Re-exports§

pub use bundle::EthBundleApiServer;
pub use bundle::EthCallBundleApiServer;
pub use core::EthApiServer;
pub use core::FullEthApiServer;
pub use ext::L2EthApiExtServer;
pub use filter::EthFilterApiServer;
pub use node::RpcNodeCore;
pub use node::RpcNodeCoreExt;
pub use pubsub::EthPubSubApiServer;
pub use types::EthApiTypes;
pub use types::FullEthApiTypes;
pub use types::RpcBlock;
pub use types::RpcHeader;
pub use types::RpcReceipt;
pub use types::RpcTransaction;
pub use bundle::EthBundleApiClient;client
pub use bundle::EthCallBundleApiClient;client
pub use core::EthApiClient;client
pub use ext::L2EthApiExtClient;client
pub use filter::EthFilterApiClient;client

Modules§

bundle
Additional eth_ RPC API for bundles.
core
Implementation of the [jsonrpsee] generated EthApiServer trait. Handles RPC requests for the eth_ namespace.
ext
eth_ Extension traits.
filter
eth_ RPC API for filtering.
helpers
Behaviour needed to serve eth_ RPC requests, divided into general database reads and specific database access.
node
Helper trait for interfacing with [FullNodeComponents].
pubsub
eth_ RPC API for pubsub subscription.
types
Trait for specifying eth network dependent API types.

Traits§

AsEthApiError
Helper trait to access wrapped core error.
FromEthApiError
Helper trait to wrap core EthApiError.
FromEvmError
Helper trait to convert from revm errors.
IntoEthApiError
Helper trait to wrap core EthApiError.
TransactionCompat
Builds RPC transaction w.r.t. network.