Skip to main content

Crate eth

Crate eth 

Source
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 node components.
pubsub
eth_ RPC API for pubsub subscription.
transaction
Compatibility functions for rpc Transaction type.
types
Trait for specifying eth network dependent API types.

Structs§

CallFees
Helper type for representing the fees of a TransactionRequest
QueryLimits
Limits for logs queries
RpcConverter
Generic RPC response object converter for Evm and network Network.

Enums§

CallFeesError
Error coming from decoding and validating transaction request fees.
EthTxEnvError
Ethereum transaction environment conversion error.
SignTxRequestError
Error for SignableTxRequest trait.
TransactionConversionError
Conversion into transaction RPC response failed.

Traits§

AsEthApiError
Helper trait to access wrapped core error.
EngineEthFilter
Rpc Interface for poll-based ethereum filter API, implementing only the eth_getLogs method. Used for the engine API, with possibility to specify QueryLimits.
EthApiServer
Server trait implementation for the EthApi RPC API.
EthApiTypes
Network specific eth API types.
EthBundleApiServer
Server trait implementation for the EthBundleApi RPC API.
EthCallBundleApiServer
Server trait implementation for the EthCallBundleApi RPC API.
EthConfigApiServer
Server trait implementation for the EthConfigApi RPC API.
EthFilterApiServer
Server trait implementation for the EthFilterApi RPC API.
EthPubSubApiServer
Server trait implementation for the EthPubSubApi RPC API.
FromConsensusHeader
Conversion trait for obtaining RPC header from a consensus header.
FromConsensusTx
Converts T into self.
FromEthApiError
Helper trait to wrap core EthApiError.
FromEvmError
Helper trait to convert from EVM 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.
L2EthApiExtServer
Server trait implementation for the L2EthApiExt RPC API.
RpcConvert
Responsible for the conversions from and into RPC requests and responses.
RpcNodeCore
Helper trait that exposes the node components needed by RPC types: the provider, pool, network and EVM config.
RpcNodeCoreExt
Additional components, asides the core node components, needed to run eth_ namespace API server.
RpcTypes
RPC types used by the eth_ RPC API.
SignableTxRequest
An abstraction over transaction requests that can be signed.
TryIntoSimTx
Converts self into T.
TryIntoTxEnv
Converts a transaction request into an executable transaction environment.
TxInfoMapper
Adds extra context to TransactionInfo.

Functions§

normalize_transaction_request
Fills missing fields for simulation using the selected EVM environment.

Type Aliases§

RpcBlock
Adapter for network specific block type.
RpcHeader
Adapter for network specific header type.
RpcLog
Adapter for network specific log response.
RpcReceipt
Adapter for network specific receipt type.
RpcTransaction
Adapter for network specific transaction response.
RpcTxReq
Adapter for network specific transaction request.