Crate eth

Available on crate feature rpc only.
Expand description

Reth RPC eth_ API implementation

§Feature Flags

  • client: Enables JSON-RPC client support.

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.
EthApiClient
Client implementation for the EthApi RPC API.
EthApiServer
Server trait implementation for the EthApi RPC API.
EthApiTypes
Network specific eth API types.
EthBundleApiClient
Client implementation for the EthBundleApi RPC API.
EthBundleApiServer
Server trait implementation for the EthBundleApi RPC API.
EthCallBundleApiClient
Client implementation for the EthCallBundleApi RPC API.
EthCallBundleApiServer
Server trait implementation for the EthCallBundleApi RPC API.
EthFilterApiClient
Client implementation for the EthFilterApi RPC API.
EthFilterApiServer
Server trait implementation for the EthFilterApi RPC API.
EthPubSubApiServer
Server trait implementation for the EthPubSubApi RPC API.
FromEthApiError
Helper trait to wrap core EthApiError.
FromEvmError
Helper trait to convert from revm errors.
FullEthApiServer
Helper trait, unifies functionality that must be supported to implement all RPC methods for server.
FullEthApiTypes
Helper trait holds necessary trait bounds on EthApiTypes to implement eth API.
IntoEthApiError
Helper trait to wrap core EthApiError.
L2EthApiExtClient
Client implementation for the L2EthApiExt RPC API.
L2EthApiExtServer
Server trait implementation for the L2EthApiExt RPC API.
RpcNodeCore
Helper trait to relax trait bounds on FullNodeComponents.
RpcNodeCoreExt
Additional components, asides the core node components, needed to run eth_ namespace API server.
TransactionCompat
Builds RPC transaction w.r.t. network.

Type Aliases§

RpcBlock
Adapter for network specific block type.
RpcHeader
Adapter for network specific header type.
RpcReceipt
Adapter for network specific receipt type.
RpcTransaction
Adapter for network specific transaction type.