measure balance from wallet