client.broadcast.commentWithOptions 関数で100%パワーアップの投稿をしてみる
こんにちは、@yasuです。
プログラムで100%パワーアップの投稿をする方法を探してみました。
参考になった記事です。
@etainclub さんの드디어 알게 되다 - 제목 옆의 스팀 로고 표시
次にpercent_steem_dollarsを設定する方法を探してみました。
前回の投稿時にcomment関数を使用しましたが、commentWithOptions 関数でpercent_steem_dollarsを変更できるようです。
ポイント
percent_steem_dollars: 0
普通に投稿する方法
JS: Submit Post
オプションの説明
comment_options
percent_steem_dollars: the percent of Steem Dollars to key, unkept amounts will be received as Steem Power
実行結果
一応、マークがついています^^
そしてSBDやSTEEMの報酬がゼロになっています。
ありがとうございました。
いらすとや
steemit サインアップ
steemit 知識
日本語 Steemit Discord (超初心者~誰でも)
Vote for @yasu.witness !
私がSTEEMの成長を助け、Steemiansの成功と繁栄を助けることができると思いましたら、@yasu.witnessに30票の1つを与えてくださると嬉しいです。
Simply go to the Steemit Wallet Witness list, scroll to the bottom, and fill in the form:
@yasu さん、こんにちは。
tomoyan.witnessに投票お願いします👇
https://steemitwallet.com/~witnesses
![](https://steemitimages.com/640x0/https://i.imgur.com/UJIIIWO.png)
SPデレゲーション報酬
Wintessに投票すると毎日の報酬がアップ!詳しくは👇
https://steemit.com/hive-161179/@japansteemit/sp-delegation-reward-update
💡 アップボートガイド 💡
分からない事は何でも質問して下さい🙇
![](https://steemitimages.com/640x0/https://i.imgur.com/jT2loCz.png)
![](https://steemitimages.com/640x0/https://i.imgur.com/Fk8AhOW.png)