gettxspendingprevout
Summary
Scans the mempool to find transactions spending any of the given outputs
Description
Scans the mempool to find transactions spending any of the given outputs
Arguments
outputs(ARR, required): The transaction outputs that we want to check, and within each, the txid (string) vout (numeric).value(OBJ): No description.txid(STR_HEX, required): The transaction idvout(NUM, required): The output number
Results
value(ARR): No description.value(OBJ): No description.txid(STR_HEX): the transaction id of the checked outputvout(NUM): the vout value of the checked outputspendingtxid(STR_HEX, optional): the transaction id of the mempool transaction spending this output (omitted if unspent)
Examples
qbit-cli gettxspendingprevout "[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":3}]"
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "gettxspendingprevout", "params": ["[{\"txid\":\"a08e6907dbbd3d809776dbfc5d82e371b764ed838b5655e72f463568df1aadf0\",\"vout\":3}]"]}' -H 'content-type: application/json' http://127.0.0.1:8352/