Skip to content

decodeTaprootAddress()

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / decodeTaprootAddress

decodeTaprootAddress(address): object

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:6050

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