Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMaxPriorityFeePerGasNotFound = errors.New( "Method eth_maxPriorityFeePerGas not found", ) // FallbackGasTipCap is the default fallback gasTipCap used when we are // unable to query an L1 backend for a suggested gasTipCap. FallbackGasTipCap = big.NewInt(1500000000) )
Functions ¶
func EstimateGas ¶
func IsMaxPriorityFeePerGasNotFoundError ¶
IsMaxPriorityFeePerGasNotFoundError returns true if the provided error signals that the backend does not support the eth_maxPrirorityFeePerGas method. In this case, the caller should fallback to using the constant above.
func SetGasTipOrPrice ¶
func SetGasTipOrPrice(ctx context.Context, auth *bind.TransactOpts, ethClient ethClient) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.