Question · Blockchain and Web3 course · Module 7: Contract Interaction

Quiz: Write functions

Calling a state-modifying function:

Answer options

  • Is free
  • Creates a transaction and costs gas
  • Doesn't require a provider
  • Returns the result immediately

You can check the correct answer by solving this task in the CodeWorlds game.