fees

package
v0.0.0-...-7be72bc Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GasPrices

type GasPrices struct {
	MaxFeePerGas         *big.Int
	MaxPriorityFeePerGas *big.Int
}

GasPrices contains recommended gas fees for a AiOperation to be included in a timely manner.

func NewGasPrices

func NewGasPrices(eth *ethclient.Client) (*GasPrices, error)

NewGasPrices returns an instance of GasPrices with the latest suggested fees derived from an Eth Client.

Jump to

Keyboard shortcuts

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