This content got low rating by people.

Is There a Super Nerd That Can Tell Me What I'm Doing Wrong Here? [SOLVED]

SCROLL DOWN FOR SOLUTION

What am I doing wrong when serializing this "claim_reward_balance" operation? The server doesn't seem to like it ...
keyboard-smash.gif
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)

bytevalue
0139

string_len (fulltimegeek)

bytevalue
020c

"fulltimegeek" string encoded

bytevalue
0366
0475
056c
066c
0774
0869
096d
1065
1167
1265
1365
146b

STEEM amount (0.442 x 1000 == 442 == 0x1BA)

bytevalue
15ba
1601
1700
1800
1900
2000
2100
2200

STEEM precision

bytevalue
2303

STEEM symbol ("STEEM")

bytevalue
2453
2554
2645
2745
284d
2900
3000

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

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center