As the crypto market continues to gain traction, there are more and more decentralised exchanges showing up by the day that let users connect with tokens and coins that can’t be found elsewhere.
One such popular exchange is Pancakeswap which lets users swap any token or coin on the BNB chain just by connecting their wallets. That said, being popular doesn’t make the exchange immune to random bugs or glitches.
In this article, we’re talking about the “cannot estimate gas” error on Pancakeswap, its causes and what you can do to fix the problem.
What causes this error?
Just like NFTs, tokens also need a gas fee to validate the transaction. If Pancakeswap cannot estimate this gas fee, you’ll start seeing this error. There are several reasons why this might happen, including:
- Too many decimal points in the transaction value.
- Low slippage tolerance.
- Low gas limit.
- The token you’re trying to buy is a scam.
How to fix this?
Here are two fixes you can try out to get rid of the error.
Increase the slippage tolerance
One of the easiest ways of getting rid of the error is to increase your slippage tolerance to 12%. Do keep in mind, though, that changing the slippage tolerance will also impact the price you’re trading at as it sets the ratio between the expected price and the actual price at which the trade goes through.
To change the slippage tolerance, follow these steps.
Step 1: Head over to the Swap page of whatever token you want to swap and click the settings gear icon.
Step 2: Change the slippage tolerance to 12%.
Your transactions should go through without any problems now.
Change the transaction value
This might sound weird, but having too many decimal points on your transaction value can sometimes cause problems with Pancakeswap causing it to not be able to estimate the gas fee.
The quickest and easiest solution to this is to simply change the transaction value not to have any or fewer decimals. Just play around with the token values until you have fewer decimals (or no decimals, ideally) and try the transaction again; it should go through without any issues.
Also read: How to delete Crypto.com account?
Someone who writes/edits/shoots/hosts all things tech and when he’s not, streams himself racing virtual cars. You can reach out to Yadullah at [email protected], or follow him on Instagram or Twitter.