Skip to content

createKeySpendOnlyOutput()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / createKeySpendOnlyOutput

createKeySpendOnlyOutput(privateKey, network?): object

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5998

Create a Taproot key-spend-only output (no scripts) This is the most common case for Silent Payments

`0x${string}`

32-byte private key (will be used as internal key)

BitcoinNetwork

object

Taproot output and address

output: TaprootOutput

address: string

internalPrivateKey: `0x${string}`