Question · Blockchain and Web3 course · Module 6: Solidity Basics

The payable Modifier

What does the 'payable' modifier mean in a Solidity function?

Answer options

  • The function can accept payments in Ether
  • The function is free
  • The function returns money
  • The function cannot be called

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