public static Wei ofNumber(final Number value) {
    return new Wei((BigInteger) value);
  }
Wei of value.

@param value the value
@return the wei
datatypes/src/main/java/org/hyperledger/besu/datatypes/Wei.java