Skip to content

decodeTaprootAddress()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / decodeTaprootAddress

decodeTaprootAddress(address): object

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

Decode a Taproot address

string

Bech32m encoded address (bc1p… or tb1p…)

object

Decoded tweaked key and network

tweakedKey: Uint8Array

network: BitcoinNetwork

If address is invalid