Blockchain event API

I’m interested in subscribing to events from a script. Is there an event callback API similar to the one in web3?

I found that there is no WebSocket API. However if there is another non-polling subscription method, please let me know.

https://viewblock.io/api

1 Like