Great article.
Nikolai Nklv
1

Hi Nikolai,

Thanks for following the article! I’ll be sure detail the state of the blockchain at each step in later articles.

getCount doesn’t consume gas, because it is a “view only” function. In saying that, the function doesn’t alter the state of the blockchain; it simply views the blockchain state (specifically the state of our variable count ).

Because the only operations that use gas are those that alter the state of the blockchain (transactions, changing contract variable values), we don’t have to spend gas for calling getCount .

Let me know if that helps!