Viewing a response to: @arcange/re-re-haccolong-q6nw0b
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....
post_id | 85,035,614 |
---|---|
author | maxsieg |
permlink | re-arcange-q6vrua |
category | gardening |
json_metadata | {"tags":["gardening"],"app":"steempeak\/2020.03.1"} |
created | 2020-03-08 15:18:18 |
last_update | 2020-03-08 15:18:18 |
depth | 7 |
children | 1 |
net_rshares | 0 |
last_payout | 2020-03-15 15:18:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,225 |
author_reputation | 1,668,100,537,200 |
root_title | "I am trying to go back" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
![](https://i.imgur.com/1IisxxB.png)
post_id | 85,145,938 |
---|---|
author | arcange |
permlink | re-re-arcange-q6vrua |
category | gardening |
json_metadata | {"image":["https:\/\/i.imgur.com\/1IisxxB.png"]} |
created | 2020-03-12 22:06:27 |
last_update | 2020-05-18 21:30:36 |
depth | 8 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-03-19 22:06:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 36 |
author_reputation | 231,443,210,169,699 |
root_title | "I am trying to go back" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |