Constructor
new CoinSource(wallet, options)
Parameters:
Name | Type | Description |
---|---|---|
wallet |
Wallet | |
options |
Object |
- Source:
Methods
hasNext() → {Boolean}
Are we done.
- Source:
Returns:
- Type
- Boolean
(async) next() → {Promise.<?Coin>}
- Source:
Returns:
- Type
- Promise.<?Coin>
(async) resolveInputsToCoins(inputs, coins) → {Promise.<void>}
Resolve coins.
Parameters:
Name | Type | Description |
---|---|---|
inputs |
bufmap.BufferMap.<Number> | |
coins |
Array.<Coin> | Coin per input. |
- Source:
Returns:
- Type
- Promise.<void>