TransactionMode

Transaction type
Protobuf enum TW.Ethereum.Proto.TransactionMode

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
open fun internalGetValueMap(): EnumLiteMap<TransactionMode>
Link copied to clipboard
open fun internalGetVerifier(): EnumVerifier
Link copied to clipboard

Returns the enum constant of this type with the specified name.
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Enveloped transaction EIP2718 (with type 0x2), fee is according to EIP1559 (base fee, inclusion fee, ...) 
Enveloped = 1;
Link copied to clipboard
val Legacy_VALUE: Int = 0
Legacy transaction, pre-EIP2718/EIP1559; for fee gasPrice/gasLimit is used
Legacy = 0;
Link copied to clipboard
val UserOp_VALUE: Int = 2
EIP4337-compatible UserOperation
UserOp = 2;