Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func GetMaxFeeWeiForDaemon ¶
Get the suggested max fee for service operations
func PrintAndCheckGasInfo ¶
func PrintAndCheckGasInfo(simResult eth.SimulationResult, checkThreshold bool, gasThresholdGwei float64, logger *slog.Logger, maxFeeWei *big.Int, gasLimit uint64) bool
Print the gas price and cost of a TX. If gasThresholdGwei is negative, the threshold is ignored.
func PrintAndCheckGasInfoForBatch ¶
func PrintAndCheckGasInfoForBatch(submissions []*eth.TransactionSubmission, checkThreshold bool, gasThresholdGwei float64, logger *slog.Logger, maxFeeWei *big.Int) bool
Print the gas price and cost of a TX batch. If gasThresholdGwei is negative, the threshold is ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.