gas

package
v0.0.0-...-b178966 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NativeTransferGasLimit = uint64(400_000)
View Source
const TokenTransferGasLimit = uint64(900_000)

Variables

This section is empty.

Functions

func ParseMinGasError

func ParseMinGasError(res *sdk.TxResponse, denoms []string) (sdk.Coin, error)

func TotalFeeToFeePerGas

func TotalFeeToFeePerGas(totalFee string, totalGas uint64) float64

Divide totalFee/totalGas and return as float safely

Types

This section is empty.

Jump to

Keyboard shortcuts

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