I'm working on a little erc 721 project. We have a frontend that allows users to mint a couple of our nfts with a button.
contract.methods.mint(tokensNumber).send({from: accounts[0], value: 75000000000000000 * tokensNumber} )
For some reason, a subset of our users are getting this error:
MetaMask - RPC Error: Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559 Object
We've noticed that the common denominator is that all of them are getting the old type 0 transaction form on their metamask, rather than the new eip-1559 form with priority fee etc. But weirdly some users have been able to successfully make type 0 transactions (I see both types transacting successfully on etherscan).
We're able to solve their problem by having them reinstall metamask, whereupon they get the type 2 form, but that's not really ideal.
Has anyone else had this problem? Any chance it's on Metamask's end?