I'm integrating with a 3rd party contract, and I need a memory variable that they emit. Is it possible to read logs on-chain?

1 Answer 1


You cannot: the Log and its event data is not accessible from within contracts, not even from the contract that created them (see the docs).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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