You are viewing a single comment's thread from:

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

in #steemjs6 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);
    }
  );
Sort:  

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

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 57738.58
ETH 3102.81
USDT 1.00
SBD 2.34