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))]
12
13pub mod block;
14pub mod receipt;
15mod rpc;
16pub mod transaction;
17
18pub use block::TryFromBlockResponse;
19pub use receipt::TryFromReceiptResponse;
20pub use rpc::*;
21pub use transaction::{
22    RpcConvert, RpcConverter, TransactionConversionError, TryFromTransactionResponse, TryIntoSimTx,
23    TxInfoMapper,
24};
25
26pub use alloy_evm::rpc::{CallFees, CallFeesError, EthTxEnvError, TryIntoTxEnv};
27
28#[cfg(feature = "op")]
29pub use transaction::op::*;