estimateGas not able to call on await Moralis.executeFunction(options)

how can i call .estimateGas() on

await Moralis.executeFunction(options)

???

You cannot, there is no functionality like ethers.js’s estimateGas() available atm

1 Like

so how can i calculate the tarsnaction fee of that trasnaction then ?

You cannot, at least using moralis directly as of now unfortunately, you would have to create an ethers.js contract instance and do it through ethers.js