Crate reth_rpc_convert

Crate reth_rpc_convert 

Source
Expand description

Reth compatibility and utils for RPC types

This crate various helper functions to convert between reth primitive types and rpc types.

Re-exports§

pub use block::TryFromBlockResponse;
pub use receipt::TryFromReceiptResponse;
pub use transaction::EthTxEnvError;
pub use transaction::IntoRpcTx;
pub use transaction::RpcConvert;
pub use transaction::RpcConverter;
pub use transaction::TransactionConversionError;
pub use transaction::TryFromTransactionResponse;
pub use transaction::TryIntoSimTx;
pub use transaction::TxInfoMapper;
pub use transaction::op::*;op

Modules§

block
Conversion traits for block responses to primitive block types.
receipt
Conversion traits for receipt responses to primitive receipt types.
transaction
Compatibility functions for rpc Transaction type.

Structs§

CallFees
Helper type for representing the fees of a TransactionRequest

Enums§

CallFeesError
Error coming from decoding and validating transaction request fees.
SignTxRequestError
Error for SignableTxRequest trait.

Traits§

RpcTypes
RPC types used by the eth_ RPC API.
SignableTxRequest
An abstraction over transaction requests that can be signed.

Type Aliases§

RpcBlock
Adapter for network specific block type.
RpcHeader
Adapter for network specific header response.
RpcReceipt
Adapter for network specific receipt response.
RpcTransaction
Adapter for network specific transaction response.
RpcTxReq
Adapter for network specific transaction request.