Created
October 16, 2019 05:46
-
-
Save tomarsachin2271/6e7f0447ee151ec378a0196dc5d67eb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const subscription = web3.eth.subscribe('logs',{ | |
topics:['0x5983cdcaa370320b76fe01a3a32a0430e6a13b9f47a55e806afb13b5aef95a12'] | |
}, function(error, result){ | |
if(error) { | |
console.error(error); | |
} | |
}).on("data", function(log) { | |
console.debug(log); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment