## Motivation How many of you sometimes want to know how much you have been paid by writing good contents? Especially for those regular writers or even full time steemians, they want to know [how much payout per week](https://helloacm.com/steemit-bot-update-showing-your-payout-in-last-7-days/). I am adding these to the [steemit discord](https://helloacm.com/the-steemit-discord-bot-upgrade-and-api/) bot and the wechat channel. ## The SteemIt Discord Bot Adding steemit bot to your discord server: https://discordapp.com/oauth2/authorize?client_id=418196534660694037&permissions=522304&scope=bot ## Your Payout in Last 7 Days Explained These information are now included in the profile lookup query such as `?steemit_account`  SBD - The Steem Dollars SP - The Steem Power via Curation or 100% Power up (These are locked up via 13 week if you power down) STEEM - These tradeable tokens can be transferred anywhere but they are not usually given per post payout. ## How to Do this? via SBDS ([MySQL](https://helloacm.com/how-to-connect-to-steem-blockchain-database-service-mysql-using-linqpad/)): ``` select account, sum(reward_steem) as "STEEM", sum(reward_sbd) as "SBD", sum(reward_vests) as "SP" from sbds_tx_claim_reward_balances where account in ('justyy') and datediff(UTC_Date(), timestamp) between 0 and 7 group by account ``` or [SteemSQL](https://helloacm.com/steemsql-tutorial-i-have-spent-800-sbd-7000-usd-buying-votes/) ([MSSQL](https://helloacm.com/how-to-check-if-steemsql-is-synchronized-with-steem-blockchain/)): ``` select account, sum(reward_steem) as "STEEM", sum(reward_sbd) as "SBD", sum(reward_vests) as "SP" from TxClaimRewardBalances( NOLOCK) where account in ('justyy') and datediff(hour, timestamp, getutcdate()) between 0 and 24*7 group by account ``` ## Wechat Channel `justyyuk`  ------------------------------------------------ Support me and my work as a [witness](https://steemit.com/witness-category/@justyy/justyy-just-another-witness) by 1. voting me [here, or](https://steemconnect.com/sign/account_witness_vote?approve=1&witness=justyy) 2. voting me as a [proxy](https://v2.steemconnect.com/sign/account-witness-proxy?proxy=justyy&approve=1) Some of my contributions: **[SteemIt Tools, Bots, APIs and Tutorial](https://helloacm.com/tools/steemit/)** ----------------------------------------------------------- ## 动机 有一些时候,我们想了解到我们在STEEM平台上一周得到的奖励。特别是对于一些全职在STEEM上的贡献者来说,他们想了解到是否能通过[STEEM](https://justyy.com/archives/6278)来得到足够养家的收入。 现在,DISCORD的[机器人](https://justyy.com/archives/6091) steemit 还有微信公众号 justyyuk 都将支持查询:过去7天收益。 ## SteemIt 机器人 把 steemit 添加到你的 discord 频道上: https://discordapp.com/oauth2/authorize?client_id=418196534660694037&permissions=522304&scope=bot ## 怎么样查询 只需要和以前一样 输入 `?steemit_account` 即可查询  SBD - 流动性很强 SP - 这些是通过点赞或者你100% POWER UP 得到的奖赏,取出来需要13周(power down) STEEM - 这可以被转换成SBD或者其它货币,但是文章奖励很少情况下会变成STEEM给你。 ## 如何实现查询的? 通过 SBDS 的[MYSQL](https://justyy.com/archives/5918)查询: ``` select account, sum(reward_steem) as "STEEM", sum(reward_sbd) as "SBD", sum(reward_vests) as "SP" from sbds_tx_claim_reward_balances where account in ('justyy') and datediff(UTC_Date(), timestamp) between 0 and 7 group by account ``` 或者[STEEMSQL](https://justyy.com/archives/5908)的 [MSSQL](https://justyy.com/archives/5928) ``` select account, sum(reward_steem) as "STEEM", sum(reward_sbd) as "SBD", sum(reward_vests) as "SP" from TxClaimRewardBalances( NOLOCK) where account in ('justyy') and datediff(hour, timestamp, getutcdate()) between 0 and 24*7 group by account ``` ## 微信公众号 `justyyuk`  ------------------------------------------------ ## 支持我的工作 支持我成为 [见证人](https://steemit.com/cn/@justyy/5h6gyv-cn) 1. [请在 这里 投我一票](https://steemconnect.com/sign/account_witness_vote?approve=1&witness=justyy), 或者 2. 设置我 [为代理](https://v2.steemconnect.com/sign/account-witness-proxy?proxy=justyy&approve=1). 我的一些贡献: **[SteemIt 工具、API接口、机器人和教程](https://helloacm.com/tools/steemit-tools/)**
author | dailychina |
---|---|
permlink | steemit-bot-update-showing-your-payout-in-last-7-days-7 |
category | steemapps |
json_metadata | {"community":"busy","app":"steemit/0.1","format":"markdown","tags":["steemapps","cn-reader","cn","cn-programming","programming"],"links":["https://helloacm.com/steemit-bot-update-showing-your-payout-in-last-7-days/","https://helloacm.com/the-steemit-discord-bot-upgrade-and-api/","https://discordapp.com/oauth2/authorize?client_id=418196534660694037&permissions=522304&scope=bot","https://helloacm.com/how-to-connect-to-steem-blockchain-database-service-mysql-using-linqpad/","https://helloacm.com/steemsql-tutorial-i-have-spent-800-sbd-7000-usd-buying-votes/","https://helloacm.com/how-to-check-if-steemsql-is-synchronized-with-steem-blockchain/","https://steemit.com/witness-category/@justyy/justyy-just-another-witness","https://steemconnect.com/sign/account_witness_vote?approve=1&witness=justyy","https://v2.steemconnect.com/sign/account-witness-proxy?proxy=justyy&approve=1","https://helloacm.com/tools/steemit/","https://justyy.com/archives/6278","https://justyy.com/archives/6091","https://justyy.com/archives/5918","https://justyy.com/archives/5908","https://justyy.com/archives/5928","https://steemit.com/cn/@justyy/5h6gyv-cn","https://helloacm.com/tools/steemit-tools/"],"image":["https://gateway.ipfs.io/ipfs/Qmef1gJ1aXf5VaUgrqimC1ewascffwxabQxZb1ofWVVboh","https://gateway.ipfs.io/ipfs/QmVtVJauwYHSdUC7K9UF2L8Bs9VRihEynepciTG8cgpcW4"]} |
created | 2018-04-29 08:58:48 |
last_update | 2018-04-29 18:07:12 |
depth | 0 |
children | 13 |
last_payout | 2018-05-06 08:58:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 4.474 HBD |
curator_payout_value | 0.974 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,397 |
author_reputation | 50,124,640,567,504 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,792,135 |
net_rshares | 856,777,057,425 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
magicmonk | 0 | 19,511,489,194 | 10% | ||
justyy | 0 | 662,231,035,253 | 50% | ||
happyukgo | 0 | 927,058,809 | 50% | ||
nokeh | 0 | 246,887,728 | 99% | ||
robinlee | 0 | 501,524,927 | 99% | ||
rainyapril | 0 | 577,409,991 | 99% | ||
al2ping | 0 | 102,296,006 | 99% | ||
yasu24 | 0 | 6,650,171,152 | 20% | ||
shengjian | 0 | 20,335,712,227 | 84.63% | ||
kangnajiang | 0 | 235,907,047 | 99% | ||
geass | 0 | 662,708,505 | 99% | ||
tarevtarev | 0 | 103,875,261 | 100% | ||
superbing | 0 | 5,610,856,237 | 50% | ||
dailyfortune | 0 | 3,676,234,971 | 50% | ||
dancingapple | 0 | 4,853,249,961 | 23% | ||
dailystats | 0 | 9,191,124,301 | 50% | ||
nekrasovaiir | 0 | 70,559,176 | 100% | ||
bobdos | 0 | 3,628,539,773 | 7% | ||
jianan | 0 | 577,886,955 | 99% | ||
zizhafimin | 0 | 208,042,669 | 100% | ||
cnbuddy | 0 | 3,338,841,415 | 0.1% | ||
daxiang | 0 | 256,721,120 | 99% | ||
anxin | 0 | 7,474,625,188 | 86.08% | ||
tdre | 0 | 44,497,873,801 | 100% | ||
moobear | 0 | 237,079,943 | 99% | ||
jjay | 0 | 688,356,834 | 100% | ||
nean | 0 | 578,537,733 | 99% | ||
foodielifestyle | 0 | 1,276,198,983 | 86.06% | ||
meixia | 0 | 4,253,994,120 | 100% | ||
woolfe19861008 | 0 | 1,753,604,796 | 87.1% | ||
dailychina | 0 | 6,272,430,661 | 50% | ||
vincenthan | 0 | 577,730,653 | 99% | ||
yuxuan | 0 | 221,640,059 | 96.36% | ||
dongfengman | 0 | 8,291,041,897 | 86.03% | ||
serenazz | 0 | 906,104,810 | 87.47% | ||
yedda | 0 | 578,356,272 | 99% | ||
shentrading | 0 | 1,534,126,161 | 79.01% | ||
zasilla | 0 | 579,120,881 | 99% | ||
aaronstar | 0 | 56,576,914 | 99% | ||
ethanlee | 0 | 6,603,604,599 | 62.23% | ||
twinsnicole | 0 | 579,451,741 | 99% | ||
deepthinking | 0 | 580,286,871 | 99% | ||
zarzish | 0 | 180,927,445 | 100% | ||
fanso | 0 | 906,917,057 | 76.33% | ||
aellly | 0 | 78,021,159 | 25% | ||
lilypang22 | 0 | 5,189,636,358 | 86.2% | ||
wwstreet | 0 | 140,554,150 | 100% | ||
zens | 0 | 578,049,054 | 99% | ||
ashi0 | 0 | 580,259,858 | 99% | ||
steemitvip | 0 | 579,212,488 | 99% | ||
regals | 0 | 580,699,467 | 99% | ||
joelone | 0 | 578,972,395 | 99% | ||
enforcer48 | 0 | 101,200,664 | 25% | ||
sweet-jenny8 | 0 | 15,678,350,602 | 85.86% | ||
chrislyr | 0 | 565,381,133 | 100% |
Read my profile if you want me to resteem your last blog post to my 36,000+ followers free. https://steemit.com/@a-0-0
author | a-0-0 |
---|---|
permlink | re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180429t085900727z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"links":["https://steemit.com/@a-0-0"],"app":"steemit/0.1"} |
created | 2018-04-29 08:58:57 |
last_update | 2018-04-29 08:58:57 |
depth | 1 |
children | 0 |
last_payout | 2018-05-06 08:58:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 118 |
author_reputation | -4,863,186,238,920 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,792,146 |
net_rshares | 0 |
This is very useful. Is it possible to add incoming reward as well? I have discord server and it is already using your cryptocurrency bot. I also plan to use this bot so I hope you can consider the question above. Thanks for always bringing useful tools to the community.
author | chrislyr |
---|---|
permlink | re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180429t125026172z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"app":"steemit/0.1"} |
created | 2018-04-29 12:50:33 |
last_update | 2018-04-29 12:50:54 |
depth | 1 |
children | 5 |
last_payout | 2018-05-06 12:50:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 271 |
author_reputation | 19,289,148,102,808 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,823,505 |
net_rshares | 0 |
Thanks. what do you mean by incoming rewards?
author | justyy |
---|---|
permlink | re-chrislyr-re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180429t152714455z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"app":"steemit/0.1"} |
created | 2018-04-29 15:27:15 |
last_update | 2018-04-29 15:27:15 |
depth | 2 |
children | 4 |
last_payout | 2018-05-06 15:27:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.062 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 45 |
author_reputation | 280,616,224,641,976 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,850,294 |
net_rshares | 10,387,500,510 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
happyukgo | 0 | 370,823,523 | 20% | ||
superbing | 0 | 2,244,371,008 | 20% | ||
dailyfortune | 0 | 1,491,822,603 | 20% | ||
dailystats | 0 | 3,732,303,526 | 20% | ||
dailychina | 0 | 2,548,179,850 | 20% |
My bad, I mean upcoming payout or total payout for the next 7 days, similar to steem.supply. It doesn't need to be as complicated as steem.supply, just a simple breakdown would do. Edit: After re-reading it seems the bot is already doing that, except I can't seem to make it work. Maybe I'm using the wrong command? I tried writing my username with @ and without @ at discord chat, but the bot does not respond. Am I doing it wrong? I hope you can assist. Thanks
author | chrislyr |
---|---|
permlink | re-justyy-re-chrislyr-re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180429t233530711z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"app":"steemit/0.1"} |
created | 2018-04-29 23:35:36 |
last_update | 2018-04-29 23:41:36 |
depth | 3 |
children | 3 |
last_payout | 2018-05-06 23:35:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 463 |
author_reputation | 19,289,148,102,808 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,919,331 |
net_rshares | 0 |
你好cn区点赞机器人 @cnbuddy 这厢有礼了。如果我打扰到你,请回复“取消”。
author | cnbuddy |
---|---|
permlink | re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180429t161619994z |
category | steemapps |
json_metadata | "" |
created | 2018-04-29 16:16:21 |
last_update | 2018-04-29 16:16:21 |
depth | 1 |
children | 0 |
last_payout | 2018-05-06 16:16:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 42 |
author_reputation | -1,449,160,991,441 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,858,835 |
net_rshares | 0 |
Hey @justyy - that is really useful. Some clever programming there. I wondered if you would time to have a look at my blog today - it follows a recent conversation we had in London.....
author | cryptocurator |
---|---|
permlink | re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180429t202730233z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"users":["justyy"],"app":"steemit/0.1"} |
created | 2018-04-29 20:27:36 |
last_update | 2018-04-29 20:27:36 |
depth | 1 |
children | 0 |
last_payout | 2018-05-06 20:27:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 186 |
author_reputation | 29,866,721,457,384 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 52,896,540 |
net_rshares | 0 |
is the SBDS mysql stop update? notice last update until 19april18
author | sphenix |
---|---|
permlink | re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180510t111111494z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"app":"steemit/0.1"} |
created | 2018-05-10 11:11:12 |
last_update | 2018-05-10 11:11:12 |
depth | 1 |
children | 3 |
last_payout | 2018-05-17 11:11:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 5,748,533,947,935 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,935,417 |
net_rshares | 0 |
https://helloacm.com/api/steemit/blocknumber/sbds/ ``` {"timestamp": "2018-04-19 18:06:45 (UTC)", "query_time": 0, "block_num": 21710750, "seconds": 74552} ``` So 20 hours. basically useless.
author | justyy |
---|---|
permlink | re-sphenix-re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180510t150620571z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"links":["https://helloacm.com/api/steemit/blocknumber/sbds/"],"app":"steemit/0.1"} |
created | 2018-05-10 15:06:21 |
last_update | 2018-05-10 15:06:21 |
depth | 2 |
children | 2 |
last_payout | 2018-05-17 15:06:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.055 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 191 |
author_reputation | 280,616,224,641,976 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 54,971,712 |
net_rshares | 12,079,955,203 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
happyukgo | 0 | 357,629,301 | 20% | ||
superbing | 0 | 2,204,472,306 | 20% | ||
dailyfortune | 0 | 1,469,383,734 | 20% | ||
dailystats | 0 | 3,715,678,104 | 20% | ||
dailychina | 0 | 2,544,026,552 | 20% | ||
turtlegraphics | 0 | 1,788,765,206 | 20% |
not only 20hrs, is last month data >.<
author | sphenix |
---|---|
permlink | re-justyy-re-sphenix-re-dailychina-steemit-bot-update-showing-your-payout-in-last-7-days-7-20180511t044643454z |
category | steemapps |
json_metadata | {"tags":["steemapps"],"app":"steemit/0.1"} |
created | 2018-05-11 04:46:54 |
last_update | 2018-05-11 04:46:54 |
depth | 3 |
children | 1 |
last_payout | 2018-05-18 04:46:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 38 |
author_reputation | 5,748,533,947,935 |
root_title | "SteemIt Bot Update: Showing Your Payout in Last 7 Days - 机器人更新:查询过去7天的收益" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 55,076,178 |
net_rshares | 0 |