Put in order · Blockchain and Web3 course · Module 5: Wallets & Transactions
Structure of the chainChanged Handler
Arrange the call that listens for a network change:
Items to put in order
- 'chainChanged'
- window.ethereum.on(
- , handleChainChanged
- )
You can check the correct answer by solving this task in the CodeWorlds game.