RE: I am trying to go back by maxsieg

View this thread on steempeak.com

Viewing a response to: @arcange/re-re-haccolong-q6nw0b

· @maxsieg ·
sorry may i bother you by asking about the correct syntaxing of a vote operation?
on the github issues page i found this syntax

curl --data '{"jsonrpc": "2.0", "params": ["network_broadcast_api", "broadcast_transaction", [["vote",{"voter":"maxsieg","author":"ura-soul","permlink":"justin-sun-was-only-warned-about-token-freeze-after-buying-steemit-inc-afterall","weight":10000}]],"extensions":[],"signatures":["postingkey"]}]], "id":1, "method":"call"}' https://steemd.minnowsupportproject.org/

on the steem API documentation i found this syntax

curl -s --data '{"jsonrpc":"2.0", "method":"condenser_api.broadcast_transaction", "params":[{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[["vote",{"voter":"steemit","author":"alice","permlink":"a-post-by-alice","weight":10000}]],"extensions":[],"signatures":[]}], "id":1}' https://api.steemit.com

which i also could not get to work with responses like

{"jsonrpc":"2.0","id":null,"error":{"code":-32700,"message":"Parse error","data":{"error_id":"7d700d7a-12d4-4657-a211-01054542602c","jussi_request_id":"000162206875925053"}}}

also not sure why expiration and block refference/prefix is needed for a vote operation....
properties (22)
post_id85,035,614
authormaxsieg
permlinkre-arcange-q6vrua
categorygardening
json_metadata{"tags":["gardening"],"app":"steempeak\/2020.03.1"}
created2020-03-08 15:18:18
last_update2020-03-08 15:18:18
depth7
children1
net_rshares0
last_payout2020-03-15 15:18:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,225
author_reputation1,668,100,537,200
root_title"I am trying to go back"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@arcange · (edited)
JOIN THE REVOLUTION
![](https://i.imgur.com/1IisxxB.png)
properties (22)
post_id85,145,938
authorarcange
permlinkre-re-arcange-q6vrua
categorygardening
json_metadata{"image":["https:\/\/i.imgur.com\/1IisxxB.png"]}
created2020-03-12 22:06:27
last_update2020-05-18 21:30:36
depth8
children0
net_rshares0
last_payout2020-03-19 22:06:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length36
author_reputation231,443,210,169,699
root_title"I am trying to go back"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000