class GetSyncing implements Handler {

  @OpenApi(
      path = ROUTE,
      method = HttpMethod.GET,
      summary = "Get node syncing status",
      description =
          "Requests the beacon node to describe if it's currently syncing or not, "
              + "and if it is, what block it is up to.",
      tags = {TAG_V1_NODE, TAG_VALIDATOR_REQUIRED},
      responses = {
        @OpenApiResponse(status = RES_OK, content = @OpenApiContent(from = SyncingResponse.class)),
        @OpenApiResponse(status = RES_INTERNAL_ERROR)
      })
  @Override
  public void handle(@NotNull final Context ctx) throws Exception {
    ctx.header(Header.CACHE_CONTROL, CACHE_NONE);
    ctx.result(jsonProvider.objectToJSON(new SyncingResponse(syncProvider.getSyncing())));
  }

  public  GetSyncing(final DataProvider provider, final JsonProvider jsonProvider);
    GetSyncing(final SyncDataProvider syncProvider, final JsonProvider jsonProvider);

}