Skip to content

createTaprootOutput()

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / createTaprootOutput

createTaprootOutput(internalKey, scripts?): TaprootOutput

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:6034

Create a Taproot output Implements BIP-341 output construction

Uint8Array

Internal public key (32 bytes, x-only)

TapScript[]

Optional tapscripts for the tree

TaprootOutput

Taproot output structure