-
Notifications
You must be signed in to change notification settings - Fork 1
/
docs.txt
96 lines (74 loc) · 2.59 KB
/
docs.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Hashkings API Docs
Accounting
- JSON
{
"refunds": [
[
"xfer",
"qwoyn-dev",
312,
"Sorry, this account only accepts in game transactions."
]
],
"bal": {
"r": 887,
"c": 0,
"b": 2925,
"p": 1307122
}
}
- Description
--Refunds
"xfer" is a refund for an amount of steem that was sent to @hashkings.
"qwoyn-dev" is the user who sent the transaction.
312 is the amount
"Sorry, this account only accepts in game transactions." is the memo which is sent to the user during refund.
--bal - (Balance)
"r" Money received during a 24 hour period at 1/1000th of a STEEM. (887 = .887 STEEM)
"c" Hashkings earnings. Any money received for seeds minus 97.5% plus all leasing fees in a 24 hour period
"b" Current @hashkings balance
"p" Current @hashkings STEEM POWER
-Expected outome in the example
--Refund
Should be sent within a few minutes
---Log output
{
amount: '0.312 STEEM',
from: 'hashkings',
to: 'qwoyn-dev',
memo: 'Sorry, this account only accepts in game transactions.'
} PrivateKey {
2020-02-20T04:51:33.079180+00:00 app[web.1]: key: <Buffer 5e 7c 8a d9 c1 49 17 bf 68 bc ce 21 0a 9f 85 56 c9 03 84 4a 6d 8f 11 32 7b 7c 73 e3 21 78 f6 85>
}
{
id: '4fbd122efa5feb3baa5b2bbd6383e91cba8b9910',
block_num: 40975253,
trx_num: 18,
expired: false
}
--Balance
"r" should decrease by 312 due to refund then "r" should decrease by 500 and "b" will increase to 3425 due to leasing fee.
This refund should happen within just a few minutes
Troubleshooting
- Error
attemptingcomment,[object Object]
app[web.1]: VError [RPCError]: beneficiaries.size(): Must specify at least one beneficiary
app[web.1]: at Client.<anonymous> (/app/node_modules/dsteem/lib/client.js:171:23)
app[web.1]: at Generator.next (<anonymous>)
app[web.1]: at fulfilled (/app/node_modules/dsteem/lib/client.js:38:58)
app[web.1]: at processTicksAndRejections (internal/process/task_queues.js:97:5) {
app[web.1]: name: 'RPCError',
app[web.1]: jse_shortmsg: 'beneficiaries.size(): Must specify at least one beneficiary',
app[web.1]: jse_info: {
app[web.1]: code: 10,
app[web.1]: name: 'assert_exception',
app[web.1]: message: 'Assert Exception',
app[web.1]: stack: [ [Object], [Object], [Object] ]
app[web.1]: },
app[web.1]: message: 'beneficiaries.size(): Must specify at least one beneficiary'
app[web.1]: }
- Meaning
1. Not enough users watering plots
2. Not enough users receiving kudos
- Solution
Supplement needed number or users with backup users and begin to water with each user every 24 hours