What are the practical use cases of anonymous events in Solidity? In which situations they might be helpful?


1 Answer 1


At the low level all events are quite similar: an optional topics array with a maximum of 4 entries and a data array of arbitrary length. Topics are 32 bytes in length and they are indexed in the block bloom filter.

Solidity events use one of the topics for the event identifier. So the only advantage of anonymous events is that they may have 4 topics.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.