private List<LogWithMetadata> findLogsWithinRange(
      final LogFilter filter, final long fromBlockNumber, final long toBlockNumber) {
    return blockchainQueries.matchingLogs(
        fromBlockNumber, toBlockNumber, filter.getLogsQuery(), () -> true);
  }
Gets the pending transactions that have occurred since the filter was last checked.

@param filterId the id of the filter to get the pending transactions for
@return the new pending transaction hashes that have occurred since the filter was last checked
ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/filter/FilterManager.java