EvmTxRequest class
A unified EVM (EIP-1559) transaction request. Unset gas/fee/nonce fields are auto-filled from the RPC.
Constructors
Properties
- data → String?
-
0x-prefixed calldata. Null = 0x (plain value transfer).
final
- from → String
-
final
- gasLimit → String?
-
Gas units (decimal string). Null = estimated via RPC.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxFeePerGas → String?
-
EIP-1559 max fee per gas in wei. Null = derived from base fee + tip.
final
- maxPriorityFeePerGas → String?
-
EIP-1559 max priority fee (tip) per gas in wei. Null = default tip.
final
- nonce → String?
-
Explicit nonce (decimal string). Null = next pending nonce.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → String
-
final
- value → String?
-
Native-token amount in wei (decimal string). Null = 0.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → EvmTxRequest