createTaprootOutput()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / createTaprootOutput
Function: createTaprootOutput()
Section titled “Function: createTaprootOutput()”createTaprootOutput(
internalKey,scripts?):TaprootOutput
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5971
Create a Taproot output Implements BIP-341 output construction
Parameters
Section titled “Parameters”internalKey
Section titled “internalKey”Uint8Array
Internal public key (32 bytes, x-only)
scripts?
Section titled “scripts?”Optional tapscripts for the tree
Returns
Section titled “Returns”Taproot output structure