amount == 0 get all unspent