getEstimateGasPrices
getEstimateGasPrices(
__namedParameters
): () =>Promise
<{average
: {gasPrice?
:bigint
;l1GasPrice?
:bigint
;maxFeePerGas?
:bigint
;maxPriorityFeePerGas?
:bigint
; };fast
: {gasPrice?
:bigint
;l1GasPrice?
:bigint
;maxFeePerGas?
:bigint
;maxPriorityFeePerGas?
:bigint
; };fastest
: {gasPrice?
:bigint
;l1GasPrice?
:bigint
;maxFeePerGas?
:bigint
;maxPriorityFeePerGas?
:bigint
; }; }>
Defined in: packages/toolboxes/src/evm/toolbox/baseEVMToolbox.ts:194
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”EVMChain
isEIP1559Compatible?
Section titled “isEIP1559Compatible?”boolean
= true
provider
Section titled “provider”Provider
Returns
Section titled “Returns”():
Promise
<{average
: {gasPrice?
:bigint
;l1GasPrice?
:bigint
;maxFeePerGas?
:bigint
;maxPriorityFeePerGas?
:bigint
; };fast
: {gasPrice?
:bigint
;l1GasPrice?
:bigint
;maxFeePerGas?
:bigint
;maxPriorityFeePerGas?
:bigint
; };fastest
: {gasPrice?
:bigint
;l1GasPrice?
:bigint
;maxFeePerGas?
:bigint
;maxPriorityFeePerGas?
:bigint
; }; }>
Returns
Section titled “Returns”Promise
<{ average
: { gasPrice?
: bigint
; l1GasPrice?
: bigint
; maxFeePerGas?
: bigint
; maxPriorityFeePerGas?
: bigint
; }; fast
: { gasPrice?
: bigint
; l1GasPrice?
: bigint
; maxFeePerGas?
: bigint
; maxPriorityFeePerGas?
: bigint
; }; fastest
: { gasPrice?
: bigint
; l1GasPrice?
: bigint
; maxFeePerGas?
: bigint
; maxPriorityFeePerGas?
: bigint
; }; }>