Skip to content

createKeySpendOnlyOutput()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / createKeySpendOnlyOutput

createKeySpendOnlyOutput(privateKey, network?): object

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:9210

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}`