Signs one input of a transaction using an HD node. Supports both bitcoinjs PSBT and scure Transaction inputs; bitcoinjs calls also apply the local HD-signing compatibility patch before signing.
The parameters object
Pass a bitcoinjs-lib Psbt or a scure Transaction.
Psbt
Transaction
The input index to sign
Pass a bitcoinjs BIP32 node or a scure HDKey node.
BIP32
HDKey
Signs one input of a transaction using an HD node. Supports both bitcoinjs PSBT and scure Transaction inputs; bitcoinjs calls also apply the local HD-signing compatibility patch before signing.