pub trait Eip1559CommonTxFields: CommonTxFields {
type AccessList: AccessListTrait;
// Required methods
fn chain_id(&self) -> u64;
fn max_fee_per_gas(&self) -> u128;
fn max_priority_fee_per_gas(&self) -> u128;
fn access_list(&self) -> &Self::AccessList;
}
Expand description
This trait is base for Eip1559, EIp4844 and Eip7702 transactions.
Required Associated Types§
Sourcetype AccessList: AccessListTrait
type AccessList: AccessListTrait
Access list type.
Required Methods§
Sourcefn max_fee_per_gas(&self) -> u128
fn max_fee_per_gas(&self) -> u128
Maximum fee per gas.
Sourcefn max_priority_fee_per_gas(&self) -> u128
fn max_priority_fee_per_gas(&self) -> u128
Maximum priority fee per gas.
Sourcefn access_list(&self) -> &Self::AccessList
fn access_list(&self) -> &Self::AccessList
EIP-1559 access list.