Question · Blockchain and Web3 course · Module 4: ethers.js & viem
estimateGas
Why use estimateGas before sending a transaction?
Answer options
- To check how much the transaction will cost and whether it will succeed
- To speed up the transaction
- To encrypt the transaction
- To reduce fees
You can check the correct answer by solving this task in the CodeWorlds game.