Crate eth
Expand description
Modules§
- block
- Conversion traits for block responses to primitive block types.
- bundle
- Additional
eth_
RPC API for bundles. - core
- Implementation of the [
jsonrpsee
] generatedEthApiServer
trait. Handles RPC requests for theeth_
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.- receipt
- Conversion traits for receipt responses to primitive receipt types.
- transaction
- Compatibility functions for rpc
Transaction
type. - types
- Trait for specifying
eth
network dependent API types.
Structs§
- Call
Fees - Helper type for representing the fees of a
TransactionRequest
- Query
Limits - Limits for logs queries
- RpcConverter
- Generic RPC response object converter for
Evm
and networkNetwork
. - Transaction
Conversion Error - Conversion into transaction RPC response failed.
Enums§
- Call
Fees Error - Error coming from decoding and validating transaction request fees.
- EthTx
EnvError - An Ethereum specific transaction environment error than can occur during conversion from
TransactionRequest
. - Sign
TxRequest Error - Error for
SignableTxRequest
trait.
Traits§
- AsEth
ApiError - Helper trait to access wrapped core error.
- Engine
EthFilter - Rpc Interface for poll-based ethereum filter API, implementing only the
eth_getLogs
method. Used for the engine API, with possibility to specifyQueryLimits
. - EthApi
Client - Client implementation for the
EthApi
RPC API. - EthApi
Server - Server trait implementation for the
EthApi
RPC API. - EthApi
Types - Network specific
eth
API types. - EthBundle
ApiClient - Client implementation for the
EthBundleApi
RPC API. - EthBundle
ApiServer - Server trait implementation for the
EthBundleApi
RPC API. - EthCall
Bundle ApiClient - Client implementation for the
EthCallBundleApi
RPC API. - EthCall
Bundle ApiServer - Server trait implementation for the
EthCallBundleApi
RPC API. - EthFilter
ApiClient - Client implementation for the
EthFilterApi
RPC API. - EthFilter
ApiServer - Server trait implementation for the
EthFilterApi
RPC API. - EthPub
SubApi Server - Server trait implementation for the
EthPubSubApi
RPC API. - From
EthApi Error - Helper trait to wrap core
EthApiError
. - From
EvmError - Helper trait to convert from revm errors.
- Full
EthApi Server - Helper trait, unifies functionality that must be supported to implement all RPC methods for server.
- Full
EthApi Types - Helper trait holds necessary trait bounds on
EthApiTypes
to implementeth
API. - Into
EthApi Error - Helper trait to wrap core
EthApiError
. - Into
RpcTx - Converts
self
intoT
. The opposite ofFromConsensusTx
. - L2Eth
ApiExt Client - Client implementation for the
L2EthApiExt
RPC API. - L2Eth
ApiExt Server - Server trait implementation for the
L2EthApiExt
RPC API. - RpcConvert
- Responsible for the conversions from and into RPC requests and responses.
- RpcNode
Core - Helper trait that provides the same interface as
FullNodeComponents
but without requiring implementation of trait bounds. - RpcNode
Core Ext - Additional components, asides the core node components, needed to run
eth_
namespace API server. - RpcTypes
- RPC types used by the
eth_
RPC API. - Signable
TxRequest - An abstraction over transaction requests that can be signed.
- TryFrom
Block Response - Trait for converting network block responses to primitive block types.
- TryFrom
Receipt Response - Trait for converting network receipt responses to primitive receipt types.
- TryFrom
Transaction Response - Trait for converting network transaction responses to primitive transaction types.
- TryInto
SimTx - Converts
self
intoT
. - TxInfo
Mapper - Adds extra context to
TransactionInfo
.
Functions§
- try_
into_ op_ tx_ info - Creates [
OpTransactionInfo
] by adding [OpDepositInfo
] toTransactionInfo
iftx
is a deposit.
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 response.
- RpcTx
Req - Adapter for network specific transaction request.