FeeHistory class

Represents the fee history in the context of Ethereum, including base fee per gas, gas used ratio, oldest block, and reward details.

Constructors

FeeHistory({required List<BigInt> baseFeePerGas, required List<double> gasUsedRatio, required int oldestBlock, required List<List<BigInt>> reward})
const
FeeHistory.fromJson(Map<String, dynamic> json)
Constructs a FeeHistory object from JSON.
factory

Properties

baseFeePerGas List<BigInt>
final
gasUsedRatio List<double>
final
hashCode int
The hash code for this object.
no setterinherited
oldestBlock int
final
reward List<List<BigInt>>
final
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
toFee() FeeHistorical
Converts the fee history to FeeHistorical with priority fee levels.
toString() String
A string representation of this object.
override

Operators

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