Skip to main content

Module eth

Module eth 

Source
Expand description

Various Ethereum types

Re-exportsยง

use crate::eth::subscription::SubscriptionId; ๐Ÿ”’
use crate::types::ReorgOptions; ๐Ÿ”’
use alloy_primitives::Address; ๐Ÿ”’
use alloy_primitives::B64; ๐Ÿ”’
use alloy_primitives::B256; ๐Ÿ”’
use alloy_primitives::Bytes; ๐Ÿ”’
use alloy_primitives::TxHash; ๐Ÿ”’
use alloy_primitives::U64; ๐Ÿ”’
use alloy_primitives::U256; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use alloy_primitives::map::HashSet; ๐Ÿ”’
use alloy_rpc_types::BlockId; ๐Ÿ”’
use alloy_rpc_types::BlockNumberOrTag as BlockNumber; ๐Ÿ”’
use alloy_rpc_types::BlockOverrides; ๐Ÿ”’
use alloy_rpc_types::Bundle; ๐Ÿ”’
use alloy_rpc_types::Filter; ๐Ÿ”’
use alloy_rpc_types::Index; ๐Ÿ”’
use alloy_rpc_types::StateContext; ๐Ÿ”’
use alloy_rpc_types::anvil::Forking; ๐Ÿ”’
use alloy_rpc_types::anvil::MineOptions; ๐Ÿ”’
use alloy_rpc_types::erc4337::TransactionConditional; ๐Ÿ”’
use alloy_rpc_types::pubsub::Params as SubscriptionParams; ๐Ÿ”’
use alloy_rpc_types::pubsub::SubscriptionKind; ๐Ÿ”’
use alloy_rpc_types::request::TransactionRequest; ๐Ÿ”’
use alloy_rpc_types::simulate::SimulatePayload; ๐Ÿ”’
use alloy_rpc_types::state::StateOverride; ๐Ÿ”’
use alloy_rpc_types::trace::filter::TraceFilter; ๐Ÿ”’
use alloy_rpc_types::trace::geth::GethDebugTracingCallOptions; ๐Ÿ”’
use alloy_rpc_types::trace::geth::GethDebugTracingOptions; ๐Ÿ”’
use alloy_rpc_types::trace::parity::TraceType; ๐Ÿ”’
use alloy_rpc_types_mev::EthCallBundle; ๐Ÿ”’
use alloy_serde::WithOtherFields; ๐Ÿ”’
use foundry_common::serde_helpers::deserialize_number; ๐Ÿ”’
use foundry_common::serde_helpers::deserialize_number_opt; ๐Ÿ”’
use foundry_common::serde_helpers::deserialize_number_seq; ๐Ÿ”’
use foundry_common::serde_helpers::deserialize_u64_seq; ๐Ÿ”’
use foundry_common::serde_helpers::deserialize_u64_seq_opt; ๐Ÿ”’
use self::serde_helpers::*; ๐Ÿ”’

Modulesยง

block
serde_helpers
custom serde helper functions
subscription
Subscription types
transaction
Transaction related types
wallet

Structsยง

Params
Wrapper type that ensures the type is named params

Enumsยง

EthPubSub
Represents ethereum JSON-RPC API
EthRequest
Represents ethereum JSON-RPC API
EthRpcCall
Container type for either a request or a pub sub
TempoConsensusQuery
Native Tempo consensus selector: "latest" or {"height": N} with a numeric height.
TransactionCountParams
Parameters accepted by eth_getTransactionCount.