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!

  • Have you tried any of the advice in the error message?
    – JBaczuk
    Jan 18 '19 at 17:18
  • 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
    Jan 18 '19 at 17:23
  • 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.
    – Andrew Chow
    Jan 18 '19 at 18:23

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).

  • signrawtransactionwithwallet gives Method not found (code -32601)
    – Ege
    Apr 19 at 14:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.