reth_rpc_convert/
lib.rs

1//! Reth compatibility and utils for RPC types
2//!
3//! This crate various helper functions to convert between reth primitive types and rpc types.
4
5#![doc(
6    html_logo_url = "https://raw.githubusercontent.com/paradigmxyz/reth/main/assets/reth-docs.png",
7    html_favicon_url = "https://avatars0.githubusercontent.com/u/97369466?s=256",
8    issue_tracker_base_url = "https://github.com/paradigmxyz/reth/issues/"
9)]
10#![cfg_attr(not(test), warn(unused_crate_dependencies))]
11#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
12
13pub mod block;
14mod fees;
15pub mod receipt;
16mod rpc;
17pub mod transaction;
18
19pub use block::TryFromBlockResponse;
20pub use fees::{CallFees, CallFeesError};
21pub use receipt::TryFromReceiptResponse;
22pub use rpc::*;
23pub use transaction::{
24    EthTxEnvError, IntoRpcTx, RpcConvert, RpcConverter, TransactionConversionError,
25    TryFromTransactionResponse, TryIntoSimTx, TxInfoMapper,
26};
27
28#[cfg(feature = "op")]
29pub use transaction::op::*;