Constructor
new AmonLib(opts)
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
opts |
Options
Properties
|
Methods
coins(coinCode) → {Promise.<Coin>}
Get coin utility instance
Parameters:
Name | Type | Description |
---|---|---|
coinCode |
string | code of the coin to use (BTC, ETH, ...) |
Returns:
Coin
- Type
- Promise.<Coin>