Getstakingreward

getstakingreward "blockhash" ( recompute )

Return the staking reward winner based on the previous block hash.

Arguments:
1. blockhash    (string, required) The previous block hash, hex encoded.
2. recompute    (boolean, optional, default=false) Whether to recompute the staking reward winner if there is a cached value.

Result:
{                    (json object) The winning proof payout script
  "asm" : "str",     (string) Decoded payout script
  "hex" : "hex",     (string) Raw payout script in hex format
  "type" : "str",    (string) The output type (e.g. nonstandard, pubkey, pubkeyhash, scripthash, multisig, nulldata)
  "reqSigs" : n,     (numeric) The required signatures
  "addresses" : [    (json array)
    "str",           (string) eCash address
    ...
  ]
}

Examples:
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getstakingreward", "params": [<blockhash>]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/