I am trying to estimateGas for an Ethereum transaction with ethers signer.estimateGas(). This transaction should execute several trades on arbitrary DEXs.
To execute the transaction approvals of ERC-20 tokens are required. However I would like to estimate the gas without executing the approvals first. Is it somehow possible to "simulate" the execution of approvals first and then be able to estimate the gas units for the transaction that requires the approvals?