tweakInternalPubKey
bitcoinjs-lib / bip371 / tweakInternalPubKey
Function: tweakInternalPubKey()
tweakInternalPubKey(
inputIndex
,input
):Uint8Array
Defined in: ts_src/psbt/bip371.ts:201
Tweak the internal public key for a specific input.
Parameters
inputIndex
number
The index of the input.
input
PsbtInput
The PsbtInput object representing the input.
Returns
Uint8Array
The tweaked internal public key.
Throws
Error if the tap internal key cannot be tweaked.