Best way to query discount based on a list of ids?

Right now this is what I have

query {
    node1: discountNode(id: "gid://shopify/DiscountCodeNode/...") {
      discount { __typename }
    }
    node2: discountNode(id: "gid://shopify/DiscountCodeNode/...") {
      discount { __typename }
    }
  }

It does achieve the goal, but is this the most efficient way to retrieve that list of discounts?