gettxspendingprevout

Argument #1-outputs

Type: json array, Required

Description: The transaction outputs that we want to check, and within each, the txid (string) vout (numeric).

     [
       {                   (json object)
         "txid": "hex",    (string, required) The transaction id
         "vout": n,        (numeric, required) The output number
       },
       ...
     ]

Result

  [                              (json array)
    {                            (json object)
      "txid" : "hex",            (string) the transaction id of the checked output
      "vout" : n,                (numeric) the vout value of the checked output
      "spendingtxid" : "hex"     (string, optional) the transaction id of the mempool transaction spending this output (omitted if unspent)
    },
    ...
  ]