serializeTaprootSignature
bitcoinjs-lib / bip371 / serializeTaprootSignature
Function: serializeTaprootSignature()
serializeTaprootSignature(
sig
,sighashType
?):Uint8Array
Defined in: ts_src/psbt/bip371.ts:75
Serializes a taproot signature.
Parameters
sig
Uint8Array
The signature to serialize.
sighashType?
number
The sighash type. Optional.
Returns
Uint8Array
The serialized taproot signature.