'Return the balance of your wallet.'

@command('w')
def getbalance(self):

    (c, u, x) = self.wallet.get_balance()
    out = {'confirmed': str((Decimal(c) / COIN))}
    if u:
        out['unconfirmed'] = str((Decimal(u) / COIN))
    if x:
        out['unmatured'] = str((Decimal(x) / COIN))
    return out
