
signmessagewithprivkey
Utility command of DebitMyData Core 1.3.5.
signmessagewithprivkey "privkey" "message"Sign a message with the private key of an address
Arguments
Section titled “Arguments”1. privkey (string, required) The private key to sign the message with.2. message (string, required) The message to create a signature of.Result
Section titled “Result”"str" (string) The signature of the message encoded in base 64Examples
Section titled “Examples”Create the signature
debitmydata-cli signmessagewithprivkey "privkey" "my message"Verify the signature
debitmydata-cli verifymessage "1D1ZrZNe3JUo7ZycKEYQQiQAWd9y54F4XX" "signature" "my message"As a JSON-RPC call
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "signmessagewithprivkey", "params": ["privkey", "my message"]}' -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

