View and Pure Functions | Solidity 0.8
Channel: Smart Contract Programmer
Date: 2021-10-11

Both view and pure functions cannot write to the blockchain. They are read-only functions. What's the difference between view and pure functions? View functions can read data from the blockchain such as state and global variables. Pure functions cannot.

#Solidity #SmartContract #Ethereum  #スマートコントラクト

Remix
https://remix.ethereum.org

Code
https://solidity-by-example.org/view-and-pure-functions/

Take a course
https://www.smartcontract.engineer/

Follow 
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com