What Is a ‘State Change’ in the Context of a Smart Contract?
A state change refers to any modification to the data or variables stored within a smart contract on the blockchain. When a transaction interacts with a smart contract (e.g. sending tokens, calling a function), the contract's internal state is updated.
For example, if a decentralized exchange contract processes a trade, the balances of the two users involved are updated, which is a state change. These changes are recorded immutably in the new block.