Skip to content

createKeySpendOnlyOutput()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / createKeySpendOnlyOutput

createKeySpendOnlyOutput(privateKey, network?): object

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:9283

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