def METHOD_NAME(self):
    query = """
    {
        rewardPrograms(
            orderBy: id, orderDirection: desc)
        {
            id
        }
    }
    """
    return self.query_subgraph(query)["rewardPrograms"]