You are viewing a single comment's thread from:

RE: jesta witness update - 2016-12-02

in #witness-category7 years ago

Hello!
I want to write some steem app.
I have a question about your node described in https://steemit.com/steemws/@jesta/steem-ws-the-public-steem-api-cluster
According to description node support follow_api but when I send:
{"jsonrpc": "2.0", "method": "get_followers", "params": [""], "id": 1} to a node.steem.ws
It returns me: "no method with name 'get_followers'". Can you explain why?

Sort:  

It's called like so:

{"jsonrpc":"2.0","method":"call", "params":[3, "get_followers", ["jesta","",1]],"id":0}

The 3 in the call might vary from server to server as well, as it's the API number to use. You can get the ID by running:

{"jsonrpc":"2.0","method":"call", "params":[1, "get_api_by_name", ["follow_api"]],"id":0}

thank you very much

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 62989.29
ETH 3048.32
USDT 1.00
SBD 3.99