Skip to content

decodeTaprootAddress()

SIP Protocol API Reference v0.14.0


SIP Protocol API Reference / decodeTaprootAddress

decodeTaprootAddress(address): object

Defined in: @sip-protocol/sdk/dist/index-ClFG32eh.d.ts:9272

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