eth_gasPrice
Gas data | Monad
eth_gasPrice | Monad
Monad API method that returns the current gas price in wei. This value is determined by the network and represents the median gas price of recent blocks.
POST
eth_gasPrice
Monad API method that returns the current gas price in wei. This value is determined by the network and represents the median gas price of recent blocks.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
none
Response
result— the current gas price in wei, encoded as hexadecimal.
eth_gasPrice code examples
Use case
A practical use case foreth_gasPrice is calculating transaction costs before sending transactions, allowing users to see estimated fees in their wallet or DApp interface.Last modified on May 18, 2026