RE: Steem.js: Comment, upvote, downvote, transfert. You wanted it, you got it.

You are viewing a single comment's thread from:

Steem.js: Comment, upvote, downvote, transfert. You wanted it, you got it.

in steemjs •  7 years ago  (edited)

For anyone else finding this now, like me, it's changed:

  /** Broadcast a vote */
  steem.broadcast.vote(
    postingWif,
    username, // Voter
    'firepower', // Author
    'steemit-veni-vidi-vici-steemfest-2016-together-we-made-it-happen-thank-you-steemians', // Permlink
    10000, // Weight (10000 = 100%)
    function(err, result) {
      console.log(err, result);
    }
  );
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you very helpful!

Hi Yoghurt,

Could you please advise me how to downvote by using steem.broadcast.vote()? I did set weight to 0, but it seems a bad practice

Thank you so much for any help

  ·  6 years ago Reveal Comment