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
Name | Type |
---|---|
data | any |
Returns
Defined in
node_modules/bsv/index.d.ts:1388
get
▸ get(args
, keys?
): Network
Parameters
Name | Type |
---|---|
args | string | number | Network |
keys? | string | string [] |
Returns
Defined in
node_modules/bsv/index.d.ts:1390
remove
▸ remove(network
): void
Parameters
Name | Type |
---|---|
network | Type |
Returns
void
Defined in
node_modules/bsv/index.d.ts:1389