Skip to main content

Module rpc

Module rpc 

Source
Expand description

RPC transaction conversion into concrete execution environments.

Re-exportsยง

use alloy_chains::NamedChain; ๐Ÿ”’
use alloy_consensus::Transaction as _; ๐Ÿ”’
use alloy_consensus::Typed2718; ๐Ÿ”’
use alloy_evm::FromRecoveredTx; ๐Ÿ”’
use alloy_network::AnyRpcTransaction; ๐Ÿ”’
use alloy_network::AnyTxEnvelope; ๐Ÿ”’
use alloy_network::TransactionResponse; ๐Ÿ”’
use foundry_evm_networks::celo::CELO_DYNAMIC_FEE_TX_TYPE; ๐Ÿ”’
use revm::context::TxEnv; ๐Ÿ”’
use tempo_alloy::primitives::TEMPO_TX_TYPE_ID; ๐Ÿ”’
use tempo_alloy::primitives::TempoTxEnvelope; ๐Ÿ”’
use tempo_revm::TempoTxEnv; ๐Ÿ”’

Modulesยง

base ๐Ÿ”’ base
optimism ๐Ÿ”’ optimism

Traitsยง

FromAnyRpcTransaction
Trait for converting an [AnyRpcTransaction] into a specific TxEnv.

Functionsยง

unknown_transaction_type ๐Ÿ”’
Returns the error for a transaction whose envelope target cannot represent.