0

Can we still listen to an event if it has no indexed variables?

What I mean is, if we emit some event such as:

emit LogTrueOrFalse(bool TrueOrFalse);

Are we able to get the value of the boolean each time this event is emitted without using any indexed variable?

1

Yes, arguments are still available. Marking one as indexed just makes it easier to filter the events for a certain value.

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.