SCROLL DOWN FOR SOLUTION
src
Json
["claim_reward_balance",
{"account":"fulltimegeek",
"reward_steem":"0.442 STEEM",
"reward_sbd":"0.364 SBD",
"reward_vests":"1481.978010 VESTS"}]
Buffer
390c66756c6c74696d656765656bba0100000000000003535445454d00006c0100000000000003534244000000009a305558000000000656455354530000
operation_id (39)
byte | value |
---|---|
01 | 39 |
string_len (fulltimegeek)
byte | value |
---|---|
02 | 0c |
"fulltimegeek" string encoded
byte | value |
---|---|
03 | 66 |
04 | 75 |
05 | 6c |
06 | 6c |
07 | 74 |
08 | 69 |
09 | 6d |
10 | 65 |
11 | 67 |
12 | 65 |
13 | 65 |
14 | 6b |
STEEM amount (0.442 x 1000 == 442 == 0x1BA)
byte | value |
---|---|
15 | ba |
16 | 01 |
17 | 00 |
18 | 00 |
19 | 00 |
20 | 00 |
21 | 00 |
22 | 00 |
STEEM precision
byte | value |
---|---|
23 | 03 |
STEEM symbol ("STEEM")
byte | value |
---|---|
24 | 53 |
25 | 54 |
26 | 45 |
27 | 45 |
28 | 4d |
29 | 00 |
30 | 00 |
My methods for serializing STEEM, SBD and VESTS are identical, except for the precision ... any thoughts? The sooner I resolve this the sooner I can finish my Steem Android application.
Paging super nerds: @vandeberg @theoretical @roadscape @anyx
SOLUTION: Byte01 is suppose to be 0x27 not decimal 39