---
name: signmessage
btcversion: 25.0.0
btcgroup: wallet
permalink: en/doc/25.0.0/rpc/wallet/signmessage/
---

signmessage "address" "message"

Sign a message with the private key of an address
Requires wallet passphrase to be set with walletpassphrase call if wallet is encrypted.

Arguments:
1. address    (string, required) The bitcoin address to use for the private key.
2. message    (string, required) The message to create a signature of.

Result:
"str"    (string) The signature of the message encoded i