class TransactionStatusRepositoryOkHttpImpl extends AbstractRepositoryOkHttpImpl implements TransactionStatusRepository {

  @Override
  public Observable<List<TransactionStatus>> getTransactionStatuses(
      List<String> transactionHashes) {
    Callable<List<TransactionStatusDTO>> callback =
        () -> getClient().getTransactionStatuses(new TransactionHashes().hashes(transactionHashes));
    return exceptionHandling(
        call(callback)
            .flatMapIterable(item -> item)
            .map(this::toTransactionStatus)
            .toList()
            .toObservable());
  }

  public  TransactionStatusRepositoryOkHttpImpl(ApiClient apiClient);

}