Getflakyproofs

getflakyproofs

List the flaky proofs (set via setflakyproof).

Result:
[                           (json array)
  {                         (json object)
    "proofid" : "hex",      (string) The hex encoded proof identifier.
    "staked_amount" : n,    (numeric) The proof stake amount, only present if the proof is known.
    "payout" : {            (json object) The proof payout script, only present if the proof is known.
      "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": "getflakyproofs", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8332/