class BlockRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements BlockRepository {

  @Override
  public Observable<BlockInfo> getBlockByHeight(BigInteger height) {
    Callable<BlockInfoDTO> callback = () -> getClient().getBlockByHeight(height);
    return exceptionHandling(call(callback).map(BlockRepositoryOkHttpImpl::toBlockInfo));
  }

  public  BlockRepositoryOkHttpImpl(ApiClient apiClient);

}