I have contacted metamask support and they have thus far been unable to assist me. Hence why I am posting here. I have also seen this problem posted elsewhere but they are all unresolved threads.
I understand that I need the transaction fee to be high enough otherwise it will be rejected. How do I calculate the appropriate amount?
My account:https://etherscan.io/address/0xcfc36d02f7b68b0d9cf5eeae4ab04b93cc6fa818
My last failed transaction: https://etherscan.io/tx/0x202ef1982f4da7b3c0b42cf0a04de37c7dc8cb64bebfb04d8b5e6a4132240456
Metamask's response:
Quote
When you send an ethereum transaction to a contract address (like this one, at 0xfd2b726d28dc6b8a34e381a5ef696d2cf5f86448), it will execute its internal code. If its internal code takes more operations to execute than you allowed in your gas limit, you can get an out of gas error, will pay the full gas fee, and have your transaction reverted.
This smart contract's code has not been published to EtherScan, so I cannot tell what it is doing, but if you want it to do what it's doing, you can raise your gas limit more, although if it still runs out of gas, this will mean you lose more ether when the transaction runs out of gas.
One way the Out of Gas error can happen is if the contract contains an infinite loop. If this is the case for this contract, no gas limit will allow the transaction to succeed, and you should simply avoid sending to it.
This smart contract's code has not been published to EtherScan, so I cannot tell what it is doing, but if you want it to do what it's doing, you can raise your gas limit more, although if it still runs out of gas, this will mean you lose more ether when the transaction runs out of gas.
One way the Out of Gas error can happen is if the contract contains an infinite loop. If this is the case for this contract, no gas limit will allow the transaction to succeed, and you should simply avoid sending to it.