Trait alloy_consensus::transaction::Transaction
source · pub trait Transaction: Any + Send + Sync + 'static {
// Required methods
fn chain_id(&self) -> Option<ChainId>;
fn nonce(&self) -> u64;
fn gas_limit(&self) -> u128;
fn gas_price(&self) -> Option<u128>;
fn to(&self) -> TxKind;
fn value(&self) -> U256;
fn input(&self) -> &[u8] ⓘ;
}
Expand description
Represents a minimal EVM transaction.