fee

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: LGPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SignatureAdditionalSize = 67
)

Variables

View Source
var (
	MinFeePerGas = big.NewInt(10)
)

Functions

func CalculateCost

func CalculateCost(networkSize int, feePerGas *big.Int, tx *types.Transaction) *big.Int

func CalculateFee

func CalculateFee(networkSize int, feePerGas *big.Int, tx *types.Transaction) *big.Int

func CalculateGas added in v0.22.0

func CalculateGas(tx *types.Transaction) int

func CalculateMaxCost added in v0.22.0

func CalculateMaxCost(tx *types.Transaction) *big.Int

func GetFeePerGasForNetwork added in v0.22.0

func GetFeePerGasForNetwork(networkSize int) *big.Int

Types

This section is empty.

Jump to

Keyboard shortcuts

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