BitcoinerLab Descriptors API - v3.1.7
    Preparing search index...

    Function signPrivKey

    • Signs all inputs of a @scure/btc-signer transaction with a raw private key.

      This helper is intended for scure users that work directly with a Uint8Array private key and may not use bitcoinjs-lib ECPair types.

      If you are signing a bitcoinjs-lib PSBT, use signECPair and pass a bitcoinjs ECPair signer.

      Parameters

      Returns void

      If psbt is not a scure transaction