Ethereum Blockchain Data – What is Stored on the Ethereum Blockchain

blockchain

I understand that on the bitcoin blockchain only transactions of bitcoin are stored (transactions with the amount of bitcoin, the two public keys of exchangers and their signatures).
But Ethereum seems to be based on smart contracts so I suppose that the only things that are stored on the ethereum blockchain are :

  • compiled smart contract code (Compiled from solidity script for example)
  • transactions corresponding of functions calls in those smart contracts

Is that all ?

Best Answer

You can conceptually dive Ethereum store as:

  • Chain data (list of blocks)
  • State data (storage modified by smart contract code)

Chain data containing block hashes is necessary to ensure that all of the transactions are cryptographically consistent. State data is not obligatory as it may be reconstructed by replaying all of the historical transactions. In fact, often the state is pruned to save storage space consumed by the blockchain node.

I hope it answers your question.

Related Topic