Class: Braid

braid.Braid()

Struct object for encoding and decoding braids.

Constructor

new Braid()

Parameters:
Name Type Description
options.network string

= mainnet - mainnet or testnet

options.addressType string

P2SH, P2SH-P2WSH, P2WSH

options.extendedPublicKeys Array.<ExtendedPublicKey>

ExtendedPublicKeys that make up this braid

options.requiredSigners number

how many required signers in this braid

options.index string

One value, relative, to add on to all xpub absolute bip32paths (usually 0=deposit, 1=change)

Source: