Question · Blockchain and Web3 course · Module 7: Contract Interaction
Quiz: View functions
Calling a view function on a contract:
Answer options
- Always costs gas
- Is free (doesn't create a transaction)
- Modifies the contract's state
- Requires a signature
You can check the correct answer by solving this task in the CodeWorlds game.