What's the best way to detect an incoming transaction with web sockets and update balance?
Should it be done with polling?
Like for example - how would a web wallet do it? It's sitting idle - is it really polling the entire time?
If it's pooling all time, if you were on a sidechain like POA, you'd be checking every ~5 seconds, this doesn't seem efficient.
Is there any other way?