getspentinfo - Zcash 5.0.0 RPC

getspentinfo {"txid": "txidhex", "index": n}

Returns the txid and index where an output is spent.

  "txid"   (string) The hex string of the txid
  "index"  (number) The vout (output) index

  "txid"   (string) The transaction id
  "index"  (number) The spending (vin, input) index

> zcash-cli getspentinfo '{"txid": "33990288fb116981260be1de10b8c764f997674545ab14f9240f00346333b780", "index": 4}'
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "33990288fb116981260be1de10b8c764f997674545ab14f9240f00346333b780", "index": 4}] }' -H 'content-type: text/plain;'

Maintained by @_garethtdavies; modified by: mdr0id;license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT (github repo)

Note it uses a mainnet zcash node