Skip to main content

bsv.Networks

scrypt-ts / bsv / Networks

Namespace: Networks

bsv.Networks

Table of contents

Interfaces

Type Aliases

Variables

Functions

Type Aliases

Type

Ƭ Type: "livenet" | "testnet" | Network

Defined in

node_modules/bsv/index.d.ts:1381

Variables

defaultNetwork

Const defaultNetwork: Network

Defined in

node_modules/bsv/index.d.ts:1386


livenet

Const livenet: Network

Defined in

node_modules/bsv/index.d.ts:1383


mainnet

Const mainnet: Network

Defined in

node_modules/bsv/index.d.ts:1384


testnet

Const testnet: Network

Defined in

node_modules/bsv/index.d.ts:1385

Functions

add

add(data): Network

Parameters

NameType
dataany

Returns

Network

Defined in

node_modules/bsv/index.d.ts:1388


get

get(args, keys?): Network

Parameters

NameType
argsstring | number | Network
keys?string | string[]

Returns

Network

Defined in

node_modules/bsv/index.d.ts:1390


remove

remove(network): void

Parameters

NameType
networkType

Returns

void

Defined in

node_modules/bsv/index.d.ts:1389