Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Estimator ¶
type Estimator interface {
// EstimateGasFee estimates the current network gas fee for transactions
EstimateGasFee() std.Coin
// EstimateGasWanted estimates the optimal gas wanted for the specified transaction
EstimateGasWanted(tx *std.Tx) int64
}
Estimator defines the transaction gas estimator
Click to show internal directories.
Click to hide internal directories.