Documentation ¶
Index ¶
- Variables
- func EstimateGas(ctx context.Context, ecdsaKey *ecdsa.PrivateKey, msgHash [32]byte, ...) (uint64, error)
- func IsMaxPriorityFeePerGasNotFoundError(err error) bool
- func ScanBlocks(ctx context.Context, ethClient headSubscriber, wg *sync.WaitGroup) error
- func SetGasTipOrPrice(ctx context.Context, auth *bind.TransactOpts, ethClient ethClient) error
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_maxPriorityFeePerGas method. In this case, the caller should fallback to using the constant above.
func ScanBlocks ¶
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.