<p>Bitcoind does not track this information as it is not necessary for normal validation, so no, this is not easily possible.</p>

CC BY-SA 3.0
2014-10-14T19:46:04.060Z
What I suspected. Any plans to do that?
morsecoder
CC BY-SA 3.0
2014-10-14T19:43:07.443Z
2014-10-14T19:43:07.443Z
Pieter Wuille
<p>I will explain my question through an example on the bitcoin testnet network.</p>

<p>I am looking at the output at index 0 of this transaction:</p>

<pre><code>2a50bcc2ec49573ef816a95781b802766910f8690968236cf451cfc32defc491
</code></pre>

<p>I can tell through the bitcoin testnet block explorer that it was spent <a href="http://blockexplorer.com/testnet/tx/7b1b3788ae4251d164031f899ba4e81f6371f70c24e71d38b03d44292ada9c81#i74294159" rel="nofollow">in this transaction</a>:</p>

<pre><code>7b1b3788ae4251d164031f899ba4e81f6371f70c24e71d38b03d44292ada9c81
</code></pre>

<p>Is there a way to use the bitcoind RPC methods to determine that it was 7b1b3... that was the transaction that spent this transaction output?</p>

<p>Thank you!</p>

<utxo>
Determine which transaction spent a Transaction Output
morsecoder
# Determine which transaction spent a Transaction Output

(Asked by: username_0 on 2014-10-14)

I will explain my question through an example on the bitcoin testnet network.

I am looking at the output at index 0 of this transaction:

```
2a50bcc2ec49573ef816a95781b802766910f8690968236cf451cfc32defc491

```

I can tell through the bitcoin testnet block explorer that it was spent [in this transaction](http://blockexplorer.com/testnet/tx/7b1b3788ae4251d164031f899ba4e81f6371f70c24e71d38b03d44292ada9c81#i74294159):

```
7b1b3788ae4251d164031f899ba4e81f6371f70c24e71d38b03d44292ada9c81

```

Is there a way to use the bitcoind RPC methods to determine that it was 7b1b3... that was the transaction that spent this transaction output?

Thank you!

**Tags:** utxo


---

## 1 answers

### Answer by username_1 on 2014-10-14. Score: 2 | Accepted answer

Bitcoind does not track this information as it is not necessary for normal validation, so no, this is not easily possible.

> **Comments:**
> **username_0**: What I suspected. Any plans to do that?  

---

