edicted avatar

Steemit API Question

edicted

Published: 20 Mar 2019 › Updated: 20 Mar 2019Steemit API Question

Steemit API Question

question.png

I'm trying to import blocks from the chain immediately as they are posted. I'm tired of waiting a full minute before I can see what's being posted to the platform.

One tutorial said this:

const stream = client.blockchain.getOperationsStream({ mode: BlockchainMode.Latest })

This threw an error for me using javascript.

Another tutorial says this:

const stream = client.blockchain.getOperationsStream({mode: dsteem.BlockchainMode.Latest})

This doesn't throw an error in JavaScript, but it also doesn't work.

Does anyone know?

You'd think the most basic things you could do would be documented.
Guess not.

Leave Steemit API Question to:

Written by

Freedom From Debt-Slavery

Read more #steemdev posts


Best Posts From edicted

We have not curated any of edicted's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From edicted