Skip to content
SwapKit is a powerful suite of tools for building blockchain applications.

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

EVMChain

boolean = true

Provider

(): 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; }; }>

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; }; }>