Contract - 0xaB9d2D124E70Be7039d7CCba9AFd06AdC1Bc60C0 All the failed transactions are called from Metamask, and all the successes are called from the Brave browser.
It's a basic, "update a contract property" call, nothing crazy.
It has always worked from Brave Browser, but I was getting Error: cannot estimate gas; transaction errors from Chrom/MetaMask, so I added the provider.getGasPrice()
async function SendMessage() {
contract = new ethers.Contract(contractAddress, abi, wallet);
let gasEst = await provider.getGasPrice();
console.log(ethers.utils.formatUnits(gasEst, 'gwei'));
return contract.SendRequest(message, { gasLimit: 1000000, gasPrice: gasEst });
}
Any help would be appreciated, thanks!