"title":"Command to create a signature from this node",
"description":[
"The **signmessage** RPC command creates a digital signature of *message* using this node's secret key. A receiver who knows your node's *id* and the *message* can be sure that the resulting signature could only be created by something with access to this node's secret key."
],
"request":{
"required":[
"message"
],
"properties":{
"message":{
"type":"string",
"description":[
"Less than 65536 characters long message to be signed by the node."
]
}
}
},
"response":{
"required":[
"signature",
"recid",
"zbase"
],
"properties":{
"signature":{
"type":"hex",
"description":[
"The signature."
],
"minLength":128,
"maxLength":128
},
"recid":{
"type":"hex",
"description":[
"The recovery id (0, 1, 2 or 3)."
],
"minLength":2,
"maxLength":2
},
"zbase":{
"type":"string",
"description":[
"*signature* and *recid* encoded in a style compatible with **lnd**'s [SignMessageRequest](https://api.lightning.community/#grpc-request- signmessagerequest)."