mcplums
1
I heard that infura requires web3 v1.0 or higher to subscribe to events, is this still the case?
wuehler
2
You do need to use websockets to subscribe to events. See more here including code samples:
mcplums
3
Thank you. I have no idea what websockets are (I’m a noob just starting out) but I will try and tackle that page you linked and see where I end up!
mcplums
4
By the way, the implication in your answer is that web3 v1 is required for websockets, is this correct?
mike
5
Infura’s websockets support web3.js 1.0, check out the docs here, https://infura.io/docs/ethereum/wss/introduction, for more info.