Click in order · Blockchain and Web3 course · Module 10: DeFi & Staking

Building: Swap Flow

Click in the order of executing the swap:

Items to click

  • approve(tokenIn)
  • receive tokenOut
  • getAmountsOut()
  • swapExactTokensForTokens()

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