Replies: 2 comments 1 reply
-
I don’t know much about Polygon, but it sounds like they are not using Gas Fee Markets (EIP-1559), so the Before EIP-1559, Ethereum had third-party services (like https://ethgasstation.info), which could better approximate a safe value to use, so maybe there is something similar for Polygon. You can also run your own gas price oracle. I expect their gas prices will continue to climb though, as the only reason Polygon was ever cheap was because it was less popular, so as it becomes more and more popular, demand for its capacity will increase, which means gas prices must increase to compensate. |
Beta Was this translation helpful? Give feedback.
-
@metayash |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
lately we've seen polygon gas price sky rocket. this has caused some problems for me in writing automated backends where my transaction keep getting stuck. so whenever I've used
provider.getGasPrice()
and then increase this by1.5x
the transaction gets mined pretty quickly for me ofcourse.getGasPrice()
method be safely used in production backends i.e will it always return a correct/or close to correct value? My worry here is if it returns an incorrect crazy high gas price, it could cause to drain all the funds in the account. thanks ✌️Beta Was this translation helpful? Give feedback.
All reactions