Put in order · Blockchain and Web3 course · Module 1: Blockchain Fundamentals

Calling Blockchain Methods

Arrange the code that adds a block to the chain:

Items to put in order

  • (
  • .
  • )
  • newBlock
  • addBlock
  • blockchain
Show the answer

Correct order:

  1. blockchain
  2. .
  3. addBlock
  4. (
  5. newBlock
  6. )