Gas estimation#

Estimates gas prices and consumption for transactions.

eth_feeHistory : Retrieves historical gas prices over a range of blocks.
eth_estimateGas : Estimates the gas required to execute a transaction.
eth_gasPrice : Returns the current gas price on the network.
eth_createAccessList : Generates an access list for transaction optimization.
eth_maxPriorityFeePerGas : Retrieves the maximum priority fee for gas.

These methods help optimize gas usage and costs on Optimism.

Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key