Unconfirmed balance changed
Usage: account.events.on('unconfirmed_balance_changed', fn)
Description: When not offline, the wallet will keep track of new transaction incoming or outgoing, these cause balance modification that this method warn about
Important: Standardization on event might happen soon, to avoid breaking change, use the EVENTS constant as described below.
Example:
const {EVENTS} = require('@dashevo/wallet-lib');
const onUnconfirmedBalanceChange = ()=>{
console.log('Unconfirmed Balance changed');
}
account.events.on(EVENTS.UNCONFIRMED_BALANCE_CHANGED, onUnconfirmedBalanceChange);