TransactionRequest class
A transaction request describes a transaction that is to be sent to the network or otherwise processed.
All fields are optional and may be a promise which resolves to the required type.
Constructors
Properties
- accessList → AccessList?
-
The AccessList included in an EIP-2930 or EIP-1559 transaction.
no setter
- data → String?
-
The transaction data.
no setter
- from → String?
-
The address (or ENS name) this transaction it from.
no setter
- gasLimit → BigInt?
-
The maximum amount of gas this transaction is permitted to use.
no setter
- gasPrice → BigInt?
-
The price (in wei) per unit of gas this transaction will pay.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- impl → _TransactionRequestImpl
-
Internal JS Object, should not be used directly.
finalinherited
- maxFeePerGas → BigInt?
-
The maximum price (in wei) per unit of gas this transaction will pay for the
EIP-1559
base fee.no setter - maxPriorityFeePerGas → BigInt?
-
The price (in wei) per unit of gas this transaction will pay for the
EIP-1559
priority fee. This is included in the maxFeePerGas, so this will not affect the total maximum cost set with maxFeePerGas.no setter - method → String?
-
no setter
- nonce → int?
-
The nonce for this transaction. This should be set to the number of transactions ever sent from this address.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → String?
-
The address (or ENS name) this transaction it to.
no setter
- value → BigInt?
-
The amount (in wei) this transaction is sending.
no setter
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