How to get the gasPrice from the RPC?

Created by Sourajyoti Gupta, Modified on Fri, 28 Jul 2023 at 07:29 PM by Sourajyoti Gupta

Polygon nodes, like ethereum follow the JSON RPC spec. There is a ‘eth_gasPrice’ method that can be used to get the gas price. Link

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article