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

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

Example