Module compat

Module compat 

Source
Expand description

Re-exported from reth_rpc_convert.

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
RpcConverter
Generic RPC response object converter for Evm and network Network.
TransactionConversionError
Conversion into transaction RPC response failed.

Enums§

CallFeesError
Error coming from decoding and validating transaction request fees.
EthTxEnvError
An Ethereum specific transaction environment error than can occur during conversion from TransactionRequest.
SignTxRequestError
Error for SignableTxRequest trait.

Traits§

IntoRpcTx
Converts self into T. The opposite of FromConsensusTx.
RpcConvert
Responsible for the conversions from and into RPC requests and responses.
RpcTypes
RPC types used by the eth_ RPC API.
SignableTxRequest
An abstraction over transaction requests that can be signed.
TryFromBlockResponse
Trait for converting network block responses to primitive block types.
TryFromReceiptResponse
Trait for converting network receipt responses to primitive receipt types.
TryFromTransactionResponse
Trait for converting network transaction responses to primitive transaction types.
TryIntoSimTx
Converts self into T.
TxInfoMapper
Adds extra context to TransactionInfo.

Functions§

try_into_op_tx_info
Creates [OpTransactionInfo] by adding [OpDepositInfo] to TransactionInfo if tx is a deposit.

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.