If you've ever tried to send a transaction on a blockchain network, you know that gas prices can be a bit of a puzzle. You want your transaction to go through quickly, but you also don't want to overpay. That's where tools like Blocknative's Gas Estimator come in handy. They give you an idea of what gas price to use so your transaction gets confirmed in a timely manner.
But you might have noticed something odd: sometimes, the estimator shows the same gas price for different confidence levels. For example, the 99%, 90%, and 70% predictions might all display the exact same value. What's up with that? Let's break it down in plain language.
First off, it's important to understand that gas price predictions are all about probability. Blocknative's gas platform looks at recent blocks, transaction patterns, and how busy the network is to estimate what gas price will get your transaction confirmed in the next block.
We present these estimates in terms of confidence levels:
Think of these as an "envelope" that wraps around the possible gas prices you might need, based on how unpredictable the network is at that moment.
Above you can see Blocknative's Gas Estimator is returning similar values across different confidence intervals on POL.
When the network is humming along smoothly—meaning transactions are flowing consistently and there's not much congestion—the uncertainty about gas prices drops. The estimator sees that things have been steady and, as a result, the range of possible gas prices narrows down. This can make the 70%, 90%, and 99% predictions all land on the same number.
Imagine you're at a coffee shop that always charges $2 for a cup of coffee. No matter what time you go, the price doesn't change. In this case, your best guess for the price at any confidence level is $2.
Sometimes, the network might have processed transactions at the same gas price for several blocks in a row. When there's no variation in recent gas prices, the estimator doesn't have different numbers to work with for different confidence levels. So, it shows the same value across the board.
Think of the predictions as an elastic band that stretches and contracts:
Seeing duplicate values in the gas estimator isn't a bug or a mistake—it's actually useful information.
Blocknative's gas estimator isn't just for one blockchain—it supports multiple networks. While each network has its own quirks, the basic idea of gas price predictions and confidence levels works the same way everywhere.
Understanding how gas estimators work can save you time, money, and a lot of hassle. When you see the same gas price across different confidence levels, it's actually a good thing. It means the network is stable, and you can proceed with confidence.
So next time you're about to send a transaction and notice those duplicate predictions, you'll know exactly what's going on. It's just the network's way of saying, "All clear!"
Blocknative's Gas API delivers over 600 requests every second. You can integrate it into your project today or go hands-on with the Gas Estimator via our webpage or browser extension.