
walletlock
Wallet command of DebitMyData Core 1.3.5.
walletlockRemoves the wallet encryption key from memory, locking the wallet.
After calling this method, you will need to call walletpassphrase again before being able to call any methods which require the wallet to be unlocked.
Result
Section titled “Result”null (json null)Examples
Section titled “Examples”Set the passphrase for 2 minutes to perform a transaction
debitmydata-cli walletpassphrase "my pass phrase" 120Perform a send (requires passphrase set)
debitmydata-cli sendtoaddress "bc1q09vm5lfy0j5reeulh4x5752q25uqqvz34hufdl" 1.0Clear the passphrase since we are done before 2 minutes is up
debitmydata-cli walletlockAs a JSON-RPC call
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "walletlock", "params": []}' -H 'content-type: application/json' http://127.0.0.1:18557/© 2026 Debit My Data, Inc. · DMD is the native coin of the DebitMyData Proof-of-Work chain. ·[email protected] ·Policies

