rollup_gasPrices
Returns the L1 and L2 gas prices that are being used by the Sequencer to calculate fees.
The rollup_gasPrices
is an Optimism-specific call, used to retrieve the L1 and L2 gas prices currently used by the Sequencer to calculate fees.
Parameters
none
Returns
l1GasPrice
:QUANTITY
- L1 gas price in wei that the Sequencer will use to estimate the L1 portion of fees (calldata costs).l2GasPrice
:QUANTITY
- L2 gas price in wei that the Sequencer will use to estimate the L2 portion of fees (execution costs).
Example Request and Result for rollup_gasPrices
Request
Result
Last updated