Ok, understand thanks for the example. Where can I get an explanation of the methods that are available in steemjs ?
On Github its just listed: https://github.com/steemit/steem-js/tree/master/doc#content
But I dont understand what they do in context of interacting with the blockchain database. And what the expected parameters are when calling them.
Oh also, there is a quite active channel #steemjs on steemit.chat where many people can help you and answer questions ;)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
you can find methods by exploring the steem object of steemjs, all reads are in api, all writes in broadcast.
To see the arguments passed to the blockchain, the best doc is this at the moment: https://steemit.github.io/steemit-docs/
The best way to do it in my opinion if you want to go in depth is to read the blockchain source source here: https://github.com/steemit/steem/blob/27b7bdf04c3d195b97328bb20c27d659dc8ae31d/libraries/app/database_api.cpp#L1491
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit