You are viewing a single comment's thread from:

RE: [Hard Fork 18] How To Use the Author Reward Splitting Feature

in #howto7 years ago (edited)

Much thanks! I find that STEEM has many interesting features that relay on custom_json. Look how to reblog/resteem a post with sign_transaction and cli_wallet:

sign_transaction {"id": "follow", "json": "[\"reblog\",{\"account\":\"dropahead\",\"author\":\"yoganarchista\",\"permlink\":\"just-a-little-gif-i-created-with-a-collage-artwork-of-mine-100-power-up\"}]", "required_posting_auths": ["dropahead"]}

And this is how to reblog with a JSON-RPC call to cli_wallet:

curl http://127.0.0.1:8093 --data '{"jsonrpc": "2.0" "method": "sign_transaction", "params": [{"operations": [ ["custom_json", {"id": "follow", "json": "[\"reblog\",{\"account\":\"dropahead\",\"author\":\"yoganarchista\",\"permlink\":\"just-a-little-gif-i-created-with-a-collage-artwork-of-mine-100-power-up\"}]", "required_posting_auths": ["dropahead"]}] ] }, true], "id": 1}'

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 64573.45
ETH 3441.06
USDT 1.00
SBD 2.51