Skip to main content
Solidity Code Completion Easy +10 XP

Event Declaration

Complete the event declaration.

SolidityFill in the blank
___ Transfer(address indexed from, address indexed to, uint256 value);

Type the missing code

Show answer and explanation

Answer: event

The event keyword declares an event. Indexed parameters allow filtering in off-chain listeners via getLogs.

Hint: Which keyword declares a Solidity event?

What this challenge tests

Code Completion in Solidity: events, logs.

Related challenges