pub fn is_ethereum_type(&self) -> bool {
        matches!(
            self,
            TransactionType::LegacyTransaction
                | TransactionType::EIP2930Transaction
                | TransactionType::EIP1559Transaction
        )
    }
Returns whether a transaction type is an Ethereum transaction type.
core/lib/types/src/l2/mod.rs