State Root
A state root is a cryptographic commitment to the current state of accounts and smart-contract data at a particular block.
✦ Key Insight
It is important for state verification, light clients, rollups, and understanding what a block commits to.
✕ Common Misconceptions
A state root is a commitment, not the full state database itself.
Detailed Explanation
In Practice
Dig Deeper
Smart Contract
A smart contract is blockchain-deployed code that can hold state and execute predefined rules when called.
On-Chain Data
On-chain data is information recorded directly on a blockchain, such as transactions, balances, contract events, and block information.
Block
A block is a data structure that groups validated blockchain transactions or state changes and links them into the chain's history.
Hash
A hash is a fixed-length output produced by a cryptographic hash function from arbitrary input data.
Merkle Tree
A Merkle tree is a hash-based data structure that efficiently commits to and verifies large sets of data.
