Skip to content
docs

signMessage

signMessage(message, privateKey, segwitType?): string

Defined in: wallet-btc/src/message.ts:52

Sign with a raw private key (RFC-6979 deterministic, low-S). Kept for callers that hold a key outside a Signer.

string | Uint8Array<ArrayBufferLike>

Uint8Array

SegwitType | undefined

string