Question · Blockchain and Web3 course · Module 8: ERC-20 & Token Creation

Quiz: approve()

The approve(spender, amount) function is used to:

Answer options

  • Send tokens
  • Grant another address permission to spend your tokens
  • Lock tokens
  • Mint tokens

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