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, 2018 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 Feb 2, 2018 at 2:42


Your Answer

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

Browse other questions tagged or ask your own question.