revm_transaction::eip2930

Trait Eip2930Tx

Source
pub trait Eip2930Tx: CommonTxFields {
    type AccessList: AccessListTrait;

    // Required methods
    fn chain_id(&self) -> u64;
    fn gas_price(&self) -> u128;
    fn kind(&self) -> TxKind;
    fn access_list(&self) -> &Self::AccessList;
}
Expand description

EIP-2930: Optional access lists

Required Associated Types§

Required Methods§

Source

fn chain_id(&self) -> u64

The chain ID of the chain the transaction is intended for.

Source

fn gas_price(&self) -> u128

The gas price of the transaction.

Source

fn kind(&self) -> TxKind

The kind of transaction.

Source

fn access_list(&self) -> &Self::AccessList

The access list of the transaction.

Implementors§