Crate eth
Available on crate feature
rpc only.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] generatedEthApiServertrait. 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
Transactiontype. - types
- Trait for specifying
ethnetwork 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
Evmand 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
SignableTxRequesttrait.
Traits§
- AsEth
ApiError - Helper trait to access wrapped core error.
- Engine
EthFilter - Rpc Interface for poll-based ethereum filter API, implementing only the
eth_getLogsmethod. Used for the engine API, with possibility to specifyQueryLimits. - EthApi
Client - Client implementation for the
EthApiRPC API. - EthApi
Server - Server trait implementation for the
EthApiRPC API. - EthApi
Types - Network specific
ethAPI types. - EthBundle
ApiClient - Client implementation for the
EthBundleApiRPC API. - EthBundle
ApiServer - Server trait implementation for the
EthBundleApiRPC API. - EthCall
Bundle ApiClient - Client implementation for the
EthCallBundleApiRPC API. - EthCall
Bundle ApiServer - Server trait implementation for the
EthCallBundleApiRPC API. - EthFilter
ApiClient - Client implementation for the
EthFilterApiRPC API. - EthFilter
ApiServer - Server trait implementation for the
EthFilterApiRPC API. - EthPub
SubApi Server - Server trait implementation for the
EthPubSubApiRPC 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
EthApiTypesto implementethAPI. - Into
EthApi Error - Helper trait to wrap core
EthApiError. - Into
RpcTx - Converts
selfintoT. The opposite ofFromConsensusTx. - L2Eth
ApiExt Client - Client implementation for the
L2EthApiExtRPC API. - L2Eth
ApiExt Server - Server trait implementation for the
L2EthApiExtRPC API. - RpcConvert
- Responsible for the conversions from and into RPC requests and responses.
- RpcNode
Core - Helper trait that provides the same interface as
FullNodeComponentsbut 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
selfintoT. - TxInfo
Mapper - Adds extra context to
TransactionInfo.
Functions§
- try_
into_ op_ tx_ info - Creates [
OpTransactionInfo] by adding [OpDepositInfo] toTransactionInfoiftxis 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.