ETHTransactionType class
Represents the type of an Ethereum transaction.
Properties
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.