bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/walletpassphrasechange
Wallet

walletpassphrasechange

Changes the wallet passphrase from oldpassphrase to newpassphrase.

Parameters

oldpassphrasestringREQUIRED
The current passphrase
newpassphrasestringREQUIRED
The new passphrase

Returns

nullnull on success

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"walletpassphrasechange","params":["old","new"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

null
← Previous
walletlock
Next →
walletprocesspsbt

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗