Question · Blockchain and Web3 course · Module 10: DeFi & Staking

Quiz: Sandwich Attack

A sandwich attack is:

Answer options

  • A smart contract hack
  • A bot buys before your transaction and sells right after - profiting from your slippage
  • A type of flash loan
  • A bug in the code

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