public static EthStatsRequest fromResponse(final String value) {
    try {
      return MAPPER.readValue(value, EthStatsRequest.class);
    } catch (JsonProcessingException e) {
      return new EthStatsRequest(Type.UNKNOWN);
    }
  }
Creates an EthStatsRequest from a response string.

@param value the response string
@return the EthStatsRequest
ethereum/ethstats/src/main/java/org/hyperledger/besu/ethstats/request/EthStatsRequest.java