@Override public long valueHeld(Address addr) throws CoinNetworkException, AddressFormatException {
  try {
    return getAddressBalance(addr.toString());
  }
 catch (  IOException e) {
    throw new CoinNetworkException("Could not look up balance: " + e.getMessage());
  }
}

@ Override public long valueHeld ( Address addr ) throws CoinNetworkException , AddressFormatException { try { return getAddressBalance ( addr . toString ( ) ) ; } catch ( IOException e ) { throw new CoinNetworkException ( "Could not look up balance: " + e . getMessage ( ) ) ; } }
the valueheld method takes in an address variable and returns the balance held using satoshis as the unit .
