reth_rpc_eth_types/
lib.rs

1//! Reth RPC server types, used in server implementation of `eth` namespace API.
2
3#![doc(
4    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
5    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
6    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
7)]
8#![cfg_attr(docsrs, feature(doc_cfg))]
9#![cfg_attr(not(test), warn(unused_crate_dependencies))]
10
11// `url` is needed for serde support on `reqwest::Url`
12use url as _;
13
14pub mod block;
15pub mod builder;
16pub mod cache;
17pub mod error;
18pub mod fee_history;
19pub mod gas_oracle;
20pub mod id_provider;
21pub mod logs_utils;
22pub mod pending_block;
23pub mod receipt;
24pub mod simulate;
25pub mod transaction;
26pub mod tx_forward;
27pub mod utils;
28
29pub use alloy_rpc_types_eth::FillTransaction;
30pub use builder::config::{EthConfig, EthFilterConfig};
31pub use cache::{
32    config::EthStateCacheConfig, db::StateCacheDb, multi_consumer::MultiConsumerLruCache,
33    EthStateCache,
34};
35pub use error::{EthApiError, EthResult, RevertError, RpcInvalidTransactionError, SignError};
36pub use fee_history::{FeeHistoryCache, FeeHistoryCacheConfig, FeeHistoryEntry};
37pub use gas_oracle::{
38    GasCap, GasPriceOracle, GasPriceOracleConfig, GasPriceOracleResult, RPC_DEFAULT_GAS_CAP,
39};
40pub use id_provider::EthSubscriptionIdProvider;
41pub use pending_block::{PendingBlock, PendingBlockEnv, PendingBlockEnvOrigin};
42pub use transaction::TransactionSource;
43pub use tx_forward::ForwardConfig;