Class: AmonLib

AmonLib(opts)

AmonLib Contains all the blockchain tools

Constructor

new AmonLib(opts)

Parameters:
Name Type Description
opts Options
Properties
Name Type Description
network blockchain network (regtest, testnet, mainnet)
Source:

Methods

coins(coinCode) → {Promise.<Coin>}

Get coin utility instance
Parameters:
Name Type Description
coinCode string code of the coin to use (BTC, ETH, ...)
Source:
Returns:
Coin
Type
Promise.<Coin>