StableX Academy

Learn crypto the right way.

114 plain-English lessons Β· 15 modules

Merkle Trees

A Merkle tree hashes transactions in pairs, level by level, until one "root" hash summarises them all.

In depth

Instead of storing every transaction hash in the block header, a block stores just the Merkle root. To prove a single transaction is in a block, you only need a handful of hashes along its branch rather than the whole block. This is what lets lightweight wallets verify payments without downloading the full chain.

Binary tree: eight transaction hashes at the bottom combining upward into a single Merkle root at the top, with one branch highlighted as a "proof".

Why it matters

Merkle trees keep blockchains verifiable at scale and make light wallets possible.