tz-watch
v0.0.1
Published
Monitor onBlock events from the Tezos node
Downloads
3
Readme
tz-watch
Monitor onBlock events from the Tezos node
yarn add tz-watch
const { Watcher } = require('tz-watch')
const watcher = new Watcher("https://mainnet-tezos.giganode.io")
watcher.start()
watcher.on('block', () => {
console.log(`New Block: ${new Date()}`)
})