Guide to Quick Transactions
Got Gas? Let's get those transactions moving.

Gas, Gas, Gas!

We’ve all been here before. Due to the fluctuating nature of blockchain traffic, as the whole world begins to wake up to the concept of DeFi, sometimes things get congested on the network! This is perfectly normal and occurs due to the nature of the way blockchains operate.
How a transaction gets validated is via a gas fee, you are essentially paying a validator to include your transaction in the next given block by paying a gas fee.
The fact of the matter is that building a secure wallet with an extremely accurate gas price calculator is an extremely difficult thing to do, so wallets like MetaMask will routinely underestimate the amount of gas required for a transaction.
Many occasions come to mind for the veteran DeFi user, trying desperately to stake in a hot new pool, trying to withdraw rewards, you click confirm but nothing happens! It’s tragic, but it’s entirely fixable!

Got Gas?

Gas is called gas because it makes the network run, like how petroleum or diesel makes your car go. When customizing gas pricing, the end user has two choices on most mainstream wallets (we’ll be using MetaMask for this particular instance): Gas Price (GWEI) and Gas Limit
Gas Price: This is the price per unit of gas.
Gas Limit: This is the max amount of units of “gas” to be used for the transaction.
Gas price is simple, you’re just saying that for every unit of gas, you’re willing to pay x GWEI (Gwei is a very small amount of Matic, fractions of a fraction of a cent)
Gas limit is usually stipulated by the contract being interacted with, usually doesn’t need to be changed by the end user, as changing the gas price performs a similar function.

Doing it right the first time!

To begin, you’ll want to turn on the MetaMask’s “Advanced Gas Controls” function. This allows you to change the value of gas paid for certain types of transactions, and can be handy for those transactions (like approving contracts).
This setting can be found under the Settings>Advanced
Click the "Account" Icon in the top right, and then select Settings.
Generally speaking, one should use the Polygon Gas Station website to make sure they are paying enough gas so they do not need to interfere with transactions while they are pending confirmation.
Polygon Gas station shows us that the network is quite congested, and that 20 Gwei is what most transactions are being confirmed at, one should put their transactions through with at least 20 Gwei to ensure they get validated!

Still nothing?

It happens! You think you’ve done everything right, upped that gas and paid a few more Gwei than required, and still nothing! All good, let’s talk about upping the gas on a pending transaction to force that bad boy through! Please note, this is most easily done from a web browser, and not the MetaMask app for iOS or Android.
Firstly, you’ll want to navigate to your MetaMask extension and select “Speed Up”, it’s worth noting, cancelling a transaction works exactly the same
This will then open up a menu almost identical to the one opened when confirming the transaction in the first place. You’ll notice it’ll probably say “Gas Price extremely low” (Bare in mind, ETH = MATIC, not ETH… UI issues with MetaMask as it is primarily an Ethereum wallet)
After you’ve saved the transaction, and accepted the terms in your hardware wallet (if applicable), the transaction should validate after some time!
Now that isn’t so hard! It’s important to bear in mind that as users of decentralized infrastructure, we are interacting with a relatively complex interconnected series of computers, that are all simultaneously dealing with very intense cryptography! These things take time to build out, and as the network scales, things should get better as time progresses!
Hopefully this short guide helps to alleviate some strains or stresses, as in DeFi, because you have control over a lot of functions, you can help yourself out quite easily!
Copy link
On this page
Gas, Gas, Gas!
Got Gas?
Doing it right the first time!
Still nothing?