Crate reth_rpc_eth_types

Crate reth_rpc_eth_types 

Source
Expand description

Reth RPC server types, used in server implementation of eth namespace API.

Re-exports§

pub use builder::config::EthConfig;
pub use builder::config::EthFilterConfig;
pub use cache::config::EthStateCacheConfig;
pub use cache::db::StateCacheDb;
pub use cache::multi_consumer::MultiConsumerLruCache;
pub use cache::EthStateCache;
pub use error::EthApiError;
pub use error::EthResult;
pub use error::RevertError;
pub use error::RpcInvalidTransactionError;
pub use error::SignError;
pub use fee_history::FeeHistoryCache;
pub use fee_history::FeeHistoryCacheConfig;
pub use fee_history::FeeHistoryEntry;
pub use gas_oracle::GasCap;
pub use gas_oracle::GasPriceOracle;
pub use gas_oracle::GasPriceOracleConfig;
pub use gas_oracle::GasPriceOracleResult;
pub use gas_oracle::RPC_DEFAULT_GAS_CAP;
pub use id_provider::EthSubscriptionIdProvider;
pub use pending_block::PendingBlock;
pub use pending_block::PendingBlockEnv;
pub use pending_block::PendingBlockEnvOrigin;
pub use transaction::TransactionSource;
pub use tx_forward::ForwardConfig;

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.
receipt
RPC receipt response builder, extends a layer one receipt with layer two data.
simulate
Utilities for serving eth_simulateV1
transaction
Helper types for reth_rpc_eth_api::EthApiServer implementation.
tx_forward
Consist of types adjacent to the fee history cache and its configs
utils
Commonly used code snippets