When a smart contract emits an event, if I am listening to them for example with an application that stores all events from that smart contract into a database, do I have the certainty that I won't miss any? How can I be sure about that?

  • Yes, you will not miss any emitted event. I had run such node script before and it did well for listening to the events. In that case your server should be always connected to the internet and no restart or anything, otherwise you can listen and put in database all event records.
    – Safi
    Commented Feb 22, 2023 at 5:10
  • What happens if I disconnect or restart? Can't I get the latest events when the node is synchronising again with the network? Commented Feb 22, 2023 at 11:41
  • Yes you keep geting latest events but old events are lost.
    – Safi
    Commented Feb 22, 2023 at 12:03

1 Answer 1


You can check out Moralis streams API https://docs.moralis.io/streams-api

Where you get 100% guaranteed delivery for streaming blockchain events

You can check more here https://docs.moralis.io/streams-api/tutorials

Disclosure: I work at Moralis

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.