class RemoteValidatorApiHandler implements ValidatorApiChannel {

  @Override
  public SafeFuture<Optional<UInt64>> getGenesisTime() {
    return asyncRunner.runAsync(
        () -> apiClient.getGenesis().map(response -> response.data.genesisTime));
  }

  public  RemoteValidatorApiHandler(final ServiceConfig config, final AsyncRunner asyncRunner);
  @VisibleForTesting public  RemoteValidatorApiHandler(
      final ValidatorRestApiClient apiClient, final AsyncRunner asyncRunner);

}