<p>As the error message says, <code>signrawtransaction</code> is deprecated. Stop using it. Instead use <code>signrawtransactionwithwallet</code> (if the transaction you are signing uses keys from your wallet) or <code>signrawtransactionwithkey</code> (if you are specifying keys on the command line).</p>

CC BY-SA 4.0
2021-04-19T14:20:05.350Z
signrawtransactionwithwallet gives Method not found (code -32601)
Ege
CC BY-SA 4.0
2019-01-18T18:23:32.647Z
2019-01-18T18:23:32.647Z
Ava Chow
<p>I am having trouble signing a transaction on bitcoin core since it appears signrawtransaction no longer works.</p>

<p>I get the following error message :</p>

<pre><code>signrawtransaction is deprecated and will be fully removed in v0.18. To use signrawtransaction in v0.17, restart bitcoind with -deprecatedrpc=signrawtransaction.
Projects should transition to using signrawtransactionwithkey and signrawtransactionwithwallet before upgrading to v0.18 (code -32)
</code></pre>

<p>Any advice on what to do? tahnks in advance!</p>

CC BY-SA 4.0
2019-01-18T17:18:18.160Z
Have you tried any of the advice in the error message?
JBaczuk
CC BY-SA 4.0
2019-01-18T17:23:28.397Z
Hello! Yes I did, I clicked on bitcoind.exe, it launched the back window and then the window along with the file disappeared like 10 seconds after that and I can't find them anymore... Any idea on where it could be?
jean
CC BY-SA 4.0
2019-01-18T18:23:57.107Z
That's not how to start bitcoind. You need to run it from the command prompt. However, you really don't need to do that. Just change the command you are using.
Ava Chow
<transactions><bitcoin-core><signrawtransaction>
Signrawtransaction is not working on bitcoin core V0.17.1
jean
# Signrawtransaction is not working on bitcoin core V0.17.1

(Asked by: username_0 on 2019-01-18)

I am having trouble signing a transaction on bitcoin core since it appears signrawtransaction no longer works.

I get the following error message :

```
signrawtransaction is deprecated and will be fully removed in v0.18. To use signrawtransaction in v0.17, restart bitcoind with -deprecatedrpc=signrawtransaction.
Projects should transition to using signrawtransactionwithkey and signrawtransactionwithwallet before upgrading to v0.18 (code -32)

```

Any advice on what to do? tahnks in advance!

**Tags:** transactions, bitcoin-core, signrawtransaction

> **Comments:**
> **username_1**: Have you tried any of the advice in the error message?  
> **username_0**: Hello! Yes I did, I clicked on bitcoind.exe, it launched the back window and then the window along with the file disappeared like 10 seconds after that and I can't find them anymore... Any idea on where it could be?  
> **username_2**: That's not how to start bitcoind. You need to run it from the command prompt. However, you really don't need to do that. Just change the command you are using.  

---

## 1 answers

### Answer by username_2 on 2019-01-18. Score: 5

As the error message says, `signrawtransaction` is deprecated. Stop using it. Instead use `signrawtransactionwithwallet` (if the transaction you are signing uses keys from your wallet) or `signrawtransactionwithkey` (if you are specifying keys on the command line).

> **Comments:**
> **username_3**: signrawtransactionwithwallet gives Method not found (code -32601)  

---

