preSignFinal

suspend fun preSignFinal(preSignature: ByteArray, message: String, derivationPath: String = "m"): Result<ByteArray>

Finalizes a preSign result into a signature over message. ECDSA only, like preSign.

Return

the signature bytes.

Parameters

preSignature

a pre-signature from preSign; use each only once.

message

the message hash to sign, hex-encoded.

derivationPath

BIP32 path of the signing key; defaults to "m", the root key.

See also

to precompute the pre-signature.