Every block header carries a single hash — the Merkle root — that fingerprints every transaction in the block. How that tree is built, and why it lets a phone wallet verify a payment without downloading the whole chain.
Every block a miner produces carries a block header, and inside that header sits a single hash called the Merkle root. That one value is a fingerprint of every transaction in the block. Change any transaction — even one character of it — and the root changes, and the block no longer checks out. This explainer covers how that fingerprint is built, and why it is the reason a phone wallet can verify a payment without downloading the entire blockchain.
Merkle trees are named after Stanford professor Ralph Merkle, who proposed them as a data-verification process in his 1979 paper "A Certified Digital Signature," as Gemini's Cryptopedia recounts. Satoshi Nakamoto cited Merkle's work in the references of the Bitcoin whitepaper, published thirty years later, and built the structure into Bitcoin's blocks.
A Merkle tree — also called a binary hash tree — has three parts:
Leaf nodes, at the bottom. In Bitcoin these are the transaction hashes, commonly called transaction IDs (TXIDs), one for every transaction in the block. When you look a transaction up on a block explorer, the identifier you are looking at is a leaf.
Non-leaf nodes, in the middle. Each one is simply the hash of the two nodes below it. It holds no transaction data of its own.
The Merkle root, at the top. One final hash that represents all of the leaves beneath it, included in the block header of every block.
Take a small block with eight transactions. Their eight TXIDs form the leaf level. Hash them together in pairs and you get four non-leaf nodes. Hash those in pairs and you get two. Hash those two together and you get the single Merkle root.
A real block holds hundreds or thousands of transactions, but the process is identical — pair, hash, halve the count, repeat — until one hash remains. If a block has an odd number of transactions, the last hash is duplicated and hashed with itself so the pairing can proceed. That odd-count rule is part of the protocol's published construction, not an improvisation by miners.
For a miner, this is not background trivia. Assembling the block — selecting transactions, building this tree, and placing its root in the header — is the work that happens before the proof-of-work race on that header can even begin. The root is one of the header fields the mining puzzle is solved over, which is why a miner cannot quietly swap a transaction after the fact: the root in the already-mined header would no longer match.
In theory, all of a block's TXIDs could be hashed together in one batch. Cryptopedia's answer to why Bitcoin does not do that is practical: to check one specific transaction against a single batch hash, you would need every TXID in the block. With a tree, you can verify that a TXID belongs to the block using the root plus a short chain of paired hashes — without knowing, downloading or storing the rest of the block's transactions.
That property has a name miners and wallet developers rely on daily: Simple Payment Verification, or SPV. A light client — an ordinary wallet — can use the Merkle root in a block header to verify that a transaction is in that block, without downloading the full block or the full chain. Full nodes still secure the network and store the entire history; light clients work because the tree lets them check one leaf against one root. Cryptopedia puts the scale plainly: a block header is 80 bytes, while a full block is more than a thousand times larger — the root is how the small thing vouches for the large one.
For scale, the network snapshot from mempool.space on November 24, 2026 shows difficulty at 134.82 trillion and total hashrate at approximately 1,044 EH/s (both figures dated context from that day; hashrate is an estimate by construction). Every block that fleet produces — roughly one every 10 minutes — carries one Merkle root built exactly as described above, from however many thousands of transactions that block contains. The next difficulty adjustment is an ESTIMATE of +9.37% at block 977,760, per mempool.space's difficulty-adjustment API on November 24, 2026 — an estimate, not a set figure.
Topic and facts drawn from Gemini Cryptopedia's Merkle tree explainer, rewritten in original language for a mining audience. Network figures are a mempool.space snapshot dated Nov 24, 2026, cited as context only. This explainer is educational only and is not financial advice.
Both newsletters are free, delivered by Brevo: