Skip to content
Mermaid templates

Blockchain Block Structure

Three consecutive blocks linked by previous-hash pointers.

Template previewMermaid
Rendering…

Make it your own.

block-beta
columns 3
  B0["Block 0 (genesis)\nprev: 0x00000\ntxs: []"]:1
  B1["Block 1\nprev: H(B0)\ntxs: [t1, t2]"]:1
  B2["Block 2\nprev: H(B1)\ntxs: [t3, t4, t5]"]:1
  M0["nonce: 12,345\nMerkle root: r0"]:1
  M1["nonce: 67,890\nMerkle root: r1"]:1
  M2["nonce: 24,680\nMerkle root: r2"]:1
classDef hd fill:#dbeafe,stroke:#1e3a8a;
classDef meta fill:#fef3c7,stroke:#92400e;
class B0,B1,B2 hd
class M0,M1,M2 meta