I tried the following codes but it seems that blocks are not returned as 'data' by the stream.
const dsteem = require("dsteem")
// Steem Init
const client = new dsteem.Client('https://api.steemit.com')
let stream = client.blockchain.getOperationsStream({ mode: dsteem.BlockchainMode.Latest })
// Stream Steem Blockchain
stream.on('data', (operation) => {
console.log('operation', operation)
}) // end: stream.on()
I tried the following codes but it seems that blocks are not returned as 'data' by the stream.