You are viewing a single comment's thread from:

RE: Steemit API Question

in #steemdev7 years ago

Nice, but I'm trying to do it in javascript. And I don't want Immutable blocks. I want Latest blocks.

<script src="https://unpkg.com/dsteem@^0.10.0/dist/dsteem.js"></script>

let client = new dsteem.Client('https://api.steemit.com')

var stream = client.blockchain.getOperationsStream()

stream.on('data', (operation) => filter(operation))
Sort:  

The blocks that this script retrieves are 20 blocks late. (immutable)

Coin Marketplace

STEEM 0.09
TRX 0.31
JST 0.031
BTC 106776.49
ETH 3880.92
USDT 1.00
SBD 0.61