Block

A block is a batch of transactions bundled together with a header of metadata and added to a blockchain. Each block includes the hash of the block before it, linking all blocks into a chain where tampering is easy to detect.

Every block has two main parts: a header and a list of transactions. The header holds metadata such as a timestamp, a summary of the block's transactions (usually a Merkle root) and the hash of the previous block. On Bitcoin, the header is 80 bytes. Because each block points to the one before it, altering an old block would change its hash and break every link after it.

Blocks are produced by miners on proof-of-work networks such as Bitcoin, or by validators on proof-of-stake networks such as Ethereum. Other nodes check that the block and every transaction in it follow the network's rules before accepting it. Space in each block is limited, so when demand is high, users who pay higher fees are usually included sooner.

For example, a bitcoin payment first waits in the mempool. Once a miner includes it in a block, the payment has one confirmation, and each new block added on top counts as another. A block explorer shows which block a transaction landed in.

A common misconception is that a transaction is final the moment it appears in a block. On Bitcoin, the most recent blocks can occasionally be replaced during a chain reorganization. This is why exchanges often wait for several confirmations before crediting a deposit. Ethereum's proof-of-stake design marks blocks as finalized after a short delay.

Learn more

Related terms