decodeavalancheproof "hexstring"

Convert a serialized, hex-encoded proof, into JSON object. The validity of the proof is not verified.

1. hexstring    (string, required) The proof hex string

{                                   (json object)
  "sequence" : n,                   (numeric) The proof's sequential number
  "expiration" : n,                 (numeric) A timestamp indicating when the proof expires
  "master" : "hex",                 (string) The master public key
  "limitedid" : "hex",              (string) A hash of the proof data excluding the master key.
  "proofid" : "hex",                (string) A hash of the limitedid and master key.
  "stakes" : [                      (json array)
    {                               (json object)
      "txid" : "hex",               (string) The transaction id
      "vout" : n,                   (numeric) The output number
      "amount" : n,                 (numeric) The amount in this UTXO
      "height" : n,                 (numeric) The height at which this UTXO was mined
      "iscoinbase" : true|false,    (boolean) Indicate whether the UTXO is a coinbase
      "pubkey" : "hex",             (string) This UTXO's public key
      "signature" : "str"           (string) Signature of the proofid with this UTXO's private key (base64 encoded)

> bitcoin-cli decodeavalancheproof "<hex proof>"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "decodeavalancheproof", "params": ["<hex proof>"]}' -H 'content-type: text/plain;'