Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
yes but what is the process? The backend requests new blocks from the geth, extracts events from them and selects the necessary ones. Is it correct? How can I implement the listen function in web3.js? is it more correct to use myContract.events.MyEvent () orweb3.eth.subscribe ('logs',…)?