Skip to main content

rollup_gasPrices RPC Method

Loading...

Updated on
Nov 02, 2023

rollup_gasPrices RPC Method

After the Bedrock upgrade it is recommended to use

eth_gasPrice

instead of rollup_gasPrices since the fees for both Layer 1 (L1) and Layer 2 (L2) are now consolidated and returned as a single value.

Parameters

This method does not accept any parameters

Returns

object
object
Loading...
l1GasPrice
Loading...
l2GasPrice
Loading...
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free