added support for unconfirmed balance