Available on crate feature
rpc
only.Expand description
Re-exported eth types
Modules§
- builder
eth
namespace API builder types.- cache
- Async caching support for eth RPC
- error
- Implementation specific Errors for the
eth_
namespace. - fee_
history - Consist of types adjacent to the fee history cache and its configs
- gas_
oracle - An implementation of the eth gas price oracle, used for providing gas price estimates based on previous blocks.
- id_
provider - Helper type for
reth_rpc_eth_api::EthPubSubApiServer
implementation. - logs_
utils - Helper functions for
reth_rpc_eth_api::EthFilterApiServer
implementation. - pending_
block - Helper types for
reth_rpc_eth_api::EthApiServer
implementation. - primitives
- alloy-rpc-types-eth
- receipt
- RPC receipt response builder, extends a layer one receipt with layer two data.
- revm_
utils - utilities for working with revm
- simulate
- Utilities for serving
eth_simulateV1
- transaction
- Helper types for
reth_rpc_eth_api::EthApiServer
implementation. - utils
- Commonly used code snippets
Structs§
- EthConfig
- Additional config values for the eth namespace.
- EthFilter
Config - Config for the filter
- EthReceipt
Builder - Receipt response builder.
- EthState
Cache - Provides async access to cached eth data
- EthState
Cache Config - Settings for the
EthStateCache
. - EthSubscription
IdProvider - An
IdProvider
for ethereum subscription ids. - FeeHistory
Cache - Contains cached fee history entries for blocks.
- FeeHistory
Cache Config - Settings for the
FeeHistoryCache
. - FeeHistory
Entry - A cached entry for a block’s fee history.
- GasCap
- The wrapper type for gas limit
- GasPrice
Oracle - Calculates a gas price depending on recent blocks.
- GasPrice
Oracle Config - Settings for the
GasPriceOracle
- GasPrice
Oracle Result - Stores the last result that the oracle returned
- Multi
Consumer LruCache - A multi-consumer LRU cache.
- Pending
Block - Locally built pending block for
pending
tag. - Pending
Block Env - Configured
EvmEnv
for a pending block. - Revert
Error - Represents a reverted transaction and its output data.
Enums§
- EthApi
Error - Errors that can occur when interacting with the
eth_
namespace - Pending
Block EnvOrigin - The origin for a configured
PendingBlockEnv
- RpcInvalid
Transaction Error - An error due to invalid transaction.
- Sign
Error - Errors returned from a sign request.
- Transaction
Source - Represents from where a transaction was fetched.
Constants§
- RPC_
DEFAULT_ GAS_ CAP - The default gas limit for
eth_call
and adjacent calls. SeeRPC_DEFAULT_GAS_CAP
.
Type Aliases§
- EthResult
- Result alias
- State
Cache Db - Helper alias type for the state’s [
CacheDB
]