Method Signature
Parameters
string
required
The message to sign
boolean
Whether to use compact encoding. If
false, uses DER encoding.Returns
string
required
The signature as a hex string
Sign a message with the wallet’s identity key.
false, uses DER encoding.