AptosRequestEstimateGasPrice class

Gives an estimate of the gas unit price required to get a transaction on chain in areasonable amount of time. The gas unit price is the amount that each transaction commits topay for each unit of gas consumed in executing the transaction. The estimate is based onrecent history: it gives the minimum gas that would have been required to get into recentblocks, for blocks that were full. (When blocks are not full, the estimate will match theminimum gas unit price.) The estimation is given in three values: de-prioritized (low), regular, and prioritized(aggressive). Using a more aggressive value increases the likelihood that the transactionwill make it into the next block; more aggressive values are computed with a larger historyand higher percentile statistics. More details are in AIP-34. aptos documation

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
method String
no setteroverride
pathParameters List<String>
no setterinherited
queryParameters Map<String, String?>
no setterinherited
requestType → RequestServiceType
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildRequest(int requestID) AptosRequestDetails
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) AptosApiGasEstimation
override
toString() String
A string representation of this object.
inherited

Operators

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