In recent time we face a problem with ERC-20 project on metamask. Because of high fees sometime our transaction is in pending it is not completed. Sometime after speedup and cancel it still in pending. And we can not complete our transaction. So lots of people find its solution but the couldn't get it. Here is the real and 100% genuine solution through metamask. Which is call custom nonce. Lets see how it works.
First of all we have to enable custome nonce option from advance setting in MetaMask wallet see the example:
then send a new transaction. In the new transaction you can send TO yourself, meaning your MetaMask public address. Then in the nonce set it to the last transaction nonce that is still pending:
and set gas higher(to what is recommended on
https://ethgasstation.info/). ETH amount can be left at 0.