6

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

10

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 you have read our privacy policy.

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