Skip to main content
Signs a message with the wallet’s identity key.

Method Signature

Parameters

message
string
required
The message to sign
compact
boolean
Whether to use compact encoding. If false, uses DER encoding.

Returns

signature
string
required
The signature as a hex string

Example