Skip to content

getOperationsStream() does not stream on mode: BlockchainMode.Latest #36

@eastmaels

Description

@eastmaels

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions