Inquiry on how to set gas fee for [approve] tx through coding in MetaMask iOS app

After connecting to the MetaMask iOS app using walletconnect v2, an approve tx was sent using typescript.

tx specifies maxFeePerGas and maxPriorityFeePerGas, but the MetaMask app ignores them and outputs the gas fee.

In transfer tx, maxFeePerGas and maxPriorityFeePerGas are normally applied and the gas fee is output, but this phenomenon occurs only in approve tx.

Is there any solution?

summary

under code

  1. work in MetaMask chrome extention with maxFeePerGas, maxPriorityFeePerGas options
  2. not work in MetaMask app, both IOS and AOS
web3.eth.sendTransaction(
            {
                from,
                to,
                value,
                approveData,
                gas,
                maxFeePerGas,
                maxPriorityFeePerGas,
            })

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.