Question · Blockchain and Web3 course · Module 7: Contract Interaction
Quiz: estimateGas
await contract.myFunction.estimateGas(args) allows you to:
Answer options
- Buy gas
- Estimate how much gas a transaction will use before sending it
- Send the transaction
- Change the gas price
You can check the correct answer by solving this task in the CodeWorlds game.