1

As a smart contract developer, is it possible to listen for errors or throws that happen in the mainnet? The motivation for this question is from an analytics perspective.

Events don't work in this situation since all effects are reverted.

  • I really doubt it, but I'm hoping someone can prove me wrong! – Nanolucas Feb 2 '18 at 1:03
  • An inefficient way would be to listen to all the transactions sent to your contract, get their receipt and see if status is 0x00 – libertylocked Feb 2 '18 at 2:42

Your Answer

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

Browse other questions tagged or ask your own question.