<p>You're trying to spend a 25.04826416 BTC output that was created by mining in May 2015, which was spent a few days after its creation: <a href="https://blockstream.info/tx/45fd1c838a56798fe027f61bdfdab83845399175a3b9cced397c5a38e669bb49?input:14" rel="nofollow noreferrer">https://blockstream.info/tx/45fd1c838a56798fe027f61bdfdab83845399175a3b9cced397c5a38e669bb49?input:14</a></p>
<p>Even if you have the private key for the address that output used at the time, the coin can't be spent again.</p>
<p>I don't know what you're trying to do - but spending the same coin twice isn't allowed.</p>

CC BY-SA 4.0
2020-09-15T04:46:17.573Z
thanks for your feedback and checked on my behalf. First of all, that TxID was generated when I run the Blockhash in Console (Bitcoin Core), which is why I use that TxID to createrawtransaction in the first place. Well, I really have No Idea that it was created and spent on May 2015, maybe because of this, that my Bitcoin Core was still "running to connect" with peers it stated here that "Last Block Time: Fri May 8 00:29:33 2015 - I gues that explains why. How should I know what happen to this Txid in the past? But then, really thanks to you.
Jsim
CC BY-SA 4.0
2020-09-15T00:15:54.433Z
2020-09-15T00:15:54.433Z
Pieter Wuille
<p>I need help. I have createrawtransaction as per the screenshot but then, unable to signrawtransactionwithkey, I have insert WIF Private Key and it state that &quot;Input not found or already spent&quot; - how do I overcome this?</p>
<p>Your thoughts?</p>
<p><a href="https://i.sstatic.net/LzWDY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LzWDY.png" alt="" /></a></p>

<bitcoin-core><raw-transaction>
Unable to createrawtransaction - “Input not found or already spent”
Jsim
# Unable to createrawtransaction - “Input not found or already spent”

(Asked by: username_0 on 2020-09-14)

I need help. I have createrawtransaction as per the screenshot but then, unable to signrawtransactionwithkey, I have insert WIF Private Key and it state that "Input not found or already spent" - how do I overcome this?

Your thoughts?

[![](https://i.sstatic.net/LzWDY.png)](https://i.sstatic.net/LzWDY.png)

**Tags:** bitcoin-core, raw-transaction


---

## 1 answers

### Answer by username_1 on 2020-09-15. Score: 1

You're trying to spend a 25.04826416 BTC output that was created by mining in May 2015, which was spent a few days after its creation: <https://blockstream.info/tx/45fd1c838a56798fe027f61bdfdab83845399175a3b9cced397c5a38e669bb49?input:14>

Even if you have the private key for the address that output used at the time, the coin can't be spent again.

I don't know what you're trying to do - but spending the same coin twice isn't allowed.

> **Comments:**
> **username_0**: thanks for your feedback and checked on my behalf. First of all, that TxID was generated when I run the Blockhash in Console (Bitcoin Core), which is why I use that TxID to createrawtransaction in the first place. Well, I really have No Idea that it was created and spent on May 2015, maybe because of this, that my Bitcoin Core was still "running to connect" with peers it stated here that "Last Block Time: Fri May 8 00:29:33 2015 - I gues that explains why. How should I know what happen to this Txid in the past? But then, really thanks to you.  

---

