EvmNetworkFees class final

Inheritance

Constructors

EvmNetworkFees({required BigInt lastBlock, required BigInt safe, required BigInt average, required BigInt fast, required BigInt safePriority, required BigInt averagePriority, required BigInt fastPriority})
const
EvmNetworkFees.fromBigInt({required BigInt lastBlock, required BigInt maxPriorityFeePerGas})
const
EvmNetworkFees.fromJson(Map<String, dynamic> json)
factory

Properties

average BigInt
final
averagePriority BigInt
final
fast BigInt
final
fastPriority BigInt
final
hashCode int
The hash code for this object.
no setterinherited
lastBlock BigInt
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safe BigInt
final
safePriority BigInt
final

Methods

getFeeAmount(FeePriority feePriority) Amount
getFeeGWEI(FeePriority feePriority) BigInt
getPriorityAmount(FeePriority feePriority) Amount
getPriorityGWEI(FeePriority feePriority) BigInt
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