Skip to content

createTaprootOutput()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / 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

Uint8Array

Internal public key (32 bytes, x-only)

TapScript[]

Optional tapscripts for the tree

TaprootOutput

Taproot output structure