Skip to main content

Module transaction

Module transaction 

Source
Available on crate feature rpc only.
Expand description

Compatibility functions for rpc Transaction type.

Structs§

ConvertReceiptInput
Input for RpcConvert::convert_receipts.
RpcConverter
Generic RPC response object converter for Evm and network Network.

Enums§

EthTxEnvError
Ethereum transaction environment conversion error.
TransactionConversionError
Conversion into transaction RPC response failed.

Traits§

HeaderConverter
A type that knows how to convert a consensus header into an RPC header.
ReceiptConverter
A type that knows how to convert primitive receipts to RPC representations.
RpcConvert
Responsible for the conversions from and into RPC requests and responses.
RpcTxConverter
Converts Tx into RpcTx
SimTxConverter
Converts TxReq into SimTx.
TryIntoTxEnv
Converts a transaction request into an executable transaction environment.
TxEnvConverter
Converts TxReq into TxEnv.

Functions§

normalize_transaction_request
Fills missing fields for simulation using the selected EVM environment.