isTaprootOutput
bitcoinjs-lib / bip371 / isTaprootOutput
Function: isTaprootOutput()
isTaprootOutput(
output
,script
?):boolean
Defined in: ts_src/psbt/bip371.ts:110
Checks if a PSBT output is a taproot output.
Parameters
output
PsbtOutput
The PSBT output to check.
script?
Uint8Array
The script to check. Optional.
Returns
boolean
True if the output is a taproot output, false otherwise.