Deciphr Academy
Track 1 · Module 2 · Lesson 2 of 6 · 5 min read

What is a block in a blockchain, and how are blocks linked?

Short answer

A block is a batch of transactions plus a header that describes it.1 Each header holds the hash of the block before it, so changing any old block would break the chain of links after it.1,2

Block 100prev: hash of 99timestamptransactionsBlock 101prev: hash of 100timestamptransactionsBlock 102prev: hash of 101timestamptransactionsEach block stores the hash of the one before itEdit block 101 and block 102’s link no longer matches
Fig. 2. Each block stores the hash of the block before it. Change block 101 and block 102's stored link no longer matches.

Waiting in line

You send a transaction from a wallet app. The app passes it to one or more nodes, which share it with the rest of the network.1 Sharing it does not put it on the blockchain yet.1 On many blockchains it waits in a queue of pending transactions until it is added to a block.1 On Ethereum, each node's list of pending transactions is called its mempool.3

What is in a block

A block has two parts: a header and the block data.1 The block data is a list of checked, genuine transactions.1 The header holds information about the block. Every blockchain picks its own fields, but many use these:1

  • The block number, also called the block height.1
  • The hash of the previous block's header.1
  • A single hash that stands for all of the block's data.1
  • A timestamp.1
  • The block's size and, on mining blockchains, a number called the nonce.1

Bitcoin builds that single hash with a merkle tree. Each transaction is hashed. The hashes are paired and hashed again, and so on, until one hash is left. That last hash is the merkle root, and it goes in the header.4

Other nodes check every transaction in a new block. They refuse the block if any transaction is invalid.1

How the chain is made

Each block contains the hash of the previous block's header. That link is what makes the chain.1,4 If someone changed an old block, its hash would change, so the next block's stored link would no longer match. Fixing that link changes the next block's hash too, and so on to the newest block.1,2 So altered blocks are easy to spot and reject.1

The first block is called the genesis block. It has no block before it, so its "previous hash" is usually set to all zeros.1 In Bitcoin, a block's height is the number of blocks between it and the genesis block, which is block 0.4

Why batch transactions?

Ethereum groups transactions into blocks so that everyone agrees on the same history, dozens or hundreds of transactions at a time.2 A new Ethereum block is due every 12 seconds.2 Bitcoin aims for about one block every 10 minutes.1,5

Tamper-evident, not untouchable

People often call blockchains immutable, meaning they can never change. NIST says that is not strictly true.1 Blockchains are tamper evident and tamper resistant: changes are easy to spot and hard to make.1 Lesson 6 shows how the newest blocks can sometimes still be replaced.

Our viewA chain of hashes shows whether old blocks have been changed. Deciding what goes into new blocks is a separate job. It belongs to the nodes and the rules they follow, which the next lessons cover.
Sources
  1. NIST IR 8202: Blockchain Technology Overview. US National Institute of Standards and Technology (Yaga, Mell, Roby, Scarfone), October 2018.
  2. Blocks. ethereum.org developer docs, page updated 25 July 2026.
  3. Proof-of-stake (PoS). ethereum.org developer docs, page updated 7 October 2026.
  4. Bitcoin developer guide: Block chain. Bitcoin developer documentation (developer.bitcoin.org).
  5. Frequently Asked Questions. Bitcoin Project, bitcoin.org.

General education built from the publicly available sources listed above. Not financial, legal, tax or investment advice. Naming a company, project or regulator is not an endorsement either way. Last checked 2026-10-22. Terms and disclaimer.