Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reading Blockchain Data

Since blockchains only require payment (gas) to change their state, reading from a blockchain is completely free.

Note

‘State’ is the term used to describe the values of all variables stored within the blockchain.

When we read from the blockchain, we simply observe the state of the blockchain, and do not change it. We are therefore not required to pay any gas fees for this action.

Since we do not have to pay gas, we do not need to hold any gas, and we therefore do not even need a wallet! (This will come later).