setstakingreward "blockhash" "payoutscript" ( append )
Set the staking reward winner for the given previous block hash.
Arguments:
1. blockhash (string, required) The previous block hash, hex encoded.
2. payoutscript (string, required) The payout script for the staking reward, hex encoded.
3. append (boolean, optional, default=false) Append to the list of possible winners instead of replacing.
Result:
true|false (boolean) Whether the payout script was set or not
Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "setstakingreward", "params": [<blockhash> <payout script>]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/