How to get the gasPrice from the RPC?

Modified on Fri, 23 Dec 2022 at 06:59 AM

  • 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

Feedback sent

We appreciate your effort and will try to fix the article