ETHTransactionType class

Represents the type of an Ethereum transaction.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the transaction type.
final
prefix int
The prefix associated with the transaction type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromPrefix(int prefix) ETHTransactionType
Returns the ETHTransactionType corresponding to the given prefix.

Constants

eip1559 → const ETHTransactionType
Represents an EIP-1559 Ethereum transaction (London hard fork).
eip2930 → const ETHTransactionType
Represents an EIP-2930 Ethereum transaction (Berlin hard fork).
legacy → const ETHTransactionType
Represents a legacy Ethereum transaction.
values → const List<ETHTransactionType>
A list of all supported Ethereum transaction types.