FeeData class

A FeeData object encapsulates the necessary fee data required to send a transaction, based on the best available recommendations.

Properties

gasPrice BigInt?
The gasPrice to use for legacy transactions or networks which do not support EIP-1559.
no setter
hashCode int
The hash code for this object.
no setterinherited
impl → _FeeDataImpl
Internal JS Object, should not be used directly.
finalinherited
maxFeePerGas BigInt?
The maxFeePerGas to use for a transaction. This is based on the most recent block's baseFee.
no setter
maxPriorityFeePerGas BigInt?
The maxPriorityFeePerGas to use for a transaction. This accounts for the uncle risk and for the majority of current MEV risk.
no setter
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.
inherited

Operators

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