BR Academy
0%
Solidity Foundations·Lesson 4 of 23·15 min

Events, Indexed Parameters, and Off-Chain Indexing

This lesson is for enrolled learners

The concept Storage reads are expensive and contracts can't push data to a server — so the standard way to make on-chain activity queryable off-chain is event logs. An event is declared like a function signature (event Transfer(address indexed from, address indexed to, uint256 value);) and emitted with emit Transfer(msg.sender, to, amount);. Emitting writes to the transaction's log section, which……

Enroll to continue Already enrolled? Sign in