You are viewing a single comment's thread from:

RE: Upcoming Changes to api.steemit.com

in #steemit7 years ago

You should first see if your app works with getState on api.steemitdev.com. If it does, you're good. If not, this is how to switch if you were using dsteem:

https://developers.steem.io/tutorials-javascript/get_state_replacement_api

But the general point is, if you use their getState(‘witnesses’), use databaseAPI.call('get_witnesses_by_vote', ['', 10]) instead.

Sort:  

Hey thanks @inertia I don't think I will have to modify the code as i use steem.api.getState('@username/blog', function(err, result)

Guess I will find out next weekend :)

Coin Marketplace

STEEM 0.06
TRX 0.28
JST 0.049
BTC 68483.35
ETH 1979.15
USDT 1.00
SBD 0.51