In this track: Trees, roots and proofs
advanced · 4 MIN READ

Account proofs at a glance

A state proof connects an account record to an accepted state root.

LET’S PICTURE IT

A directory path can authenticate one record inside an official ledger snapshot.

SEE IT FOR YOURSELF
Build a root and follow one membership proofStep 1 / 4
Build a root and follow one membership proofA0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4ROOT0x4e2b32…5956A0x03783f…b760B0x1f675b…9111C0x017e66…8f72D0x6c3fd3…79f2hash(A,B)0x69de75…24a0hash(C,D)0xe62e1d…b5a4ROOT0x4e2b32…5956

This example hashes UTF-8 A, B, C and D. The displayed hashes are abbreviated, and the tree uses the playground’s sorted-pair convention.

Animated local teaching model. No wallet, RPC or live blockchain data. Some labels and hashes are abbreviated for readability.

Choose the account and block

The requested address and block context determine the claim. An account record at one block does not automatically describe its state at a later block.

Verify the key path

The account proof follows the state trie’s specified key and node encoding rules. It cannot be checked by the sorted-pair playground algorithm.

Interpret the account record

The familiar account model includes nonce, balance, storage root and code hash. Those fields have distinct meanings and do not directly contain all contract storage.

Authenticate the state root

A server can supply proof nodes, but the accepted state root must come from the verifier’s trusted chain context. Otherwise the proof can authenticate an irrelevant invented snapshot.

Follow the proof model

accepted state root
→ account trie path
→ account record
→ storage root for further storage claims

Binary examples use the stated local playground convention. They are not Ethereum account or storage trie proofs.

TURN UNDERSTANDING INTO PRACTICEOpen the Merkle trees →
QUICK CHECK · NO PRESSURE

Does an account proof directly contain every contract storage field?

Your progress stays in this browser.
Keep exploring the original referenceethereum.org ↗

Original explanations by EtherTools. Examples are educational and source-linked; this site is independent of the Ethereum Foundation. Our approach.