pub trait CommonTxFields {
// Required methods
fn caller(&self) -> Address;
fn gas_limit(&self) -> u64;
fn value(&self) -> U256;
fn input(&self) -> &Bytes;
fn nonce(&self) -> u64;
}
Expand description
Trait that contains all common field that are shared by all transactions. This trait is base for Legacy, EIp2930 and Eip1559 transactions.