estimate

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL