Managed Subgraphs and Endpoint Aliases on GraphOps Subgraphs, The Graph Network's first independent gateway

Hi all, Chris here, founder of GraphOps.

GraphOps Subgraphs went live today as The Graph Network’s first independent gateway, following the Foundation’s Subgraph Gateways announcement on 28 November.

You can read our full launch announcement here: Onchain data on open standards

Every query through GraphOps Subgraphs is served by Indexers on The Graph Network and paid to them. A new gateway brings in teams the network hasn’t reached yet, and gives the teams already here a choice of how they query it.

It works with what you already have. Any Subgraph available on The Graph Network can be queried by its Deployment CID or Graph Network Subgraph ID, with the same GraphQL:

https://subgraphs.graphops.xyz/v1/deploymentCID/<DEPLOYMENT_CID>
https://subgraphs.graphops.xyz/v1/subgraphId/<SUBGRAPH_ID>

Moving an app over is a change of URL and API key. Send the key as Authorization: Bearer <GRAPHOPS_API_KEY>, or put it at the end of the URL for clients that can only take a URL. The queries stay the same.

Running a gateway also lets us work on the access layer itself, starting with the window after a Subgraph release, when a new Deployment CID starts empty and its schema may have changed.

Subgraphs you publish: Managed Subgraphs

A Managed Subgraph on a supported network begins indexing immediately and has elastic query capacity backed by Indexers on The Graph Network. For a release:

  • The new version indexes alongside the one your app uses.
  • The upgrade review compares the two query schemas and flags breaking differences.
  • The new version can go live only once it’s healthy and close to the chain head, and you choose when.

Queries from your own organization cost no credits. Other organizations querying it are billed as usual.

Your clients: Endpoint Aliases

An Endpoint Alias gives an application one URL (/v1/alias/<ALIAS>). It can target:

  • A Deployment CID, for a fixed schema.
  • A Managed Subgraph. It can follow the live version, which moves when a new version goes live. It can also follow the new version for testing: it serves the new version while it’s healthy and indexing, and falls back to the live version otherwise.
  • A Graph Network Subgraph ID. Latest published version moves as soon as the owner publishes. Latest available version waits until an allocated Indexer reports the new version healthy and close to the chain head.

Aliases carry no charge of their own.

Subgraphs you don’t own

With no plan, point an alias at the Subgraph ID on Latest available version. It follows new releases without pointing at a version nobody serves yet, and it relies on network Indexers picking up each version. If your app needs indexing from day one and elastic query capacity, target the Subgraph ID with a Managed Subgraph of your own. Each published version then indexes alongside the one your app uses, and goes live automatically once it’s ready. Either way, the owner’s breaking schema changes reach your queries, so pin a Deployment CID when you need a fixed schema.

What it costs

Managed indexing is available on a monthly plan. It draws on the plan’s credits while a deployment is indexed, even when no queries are sent, and during an upgrade both versions draw on them. A small Managed Subgraph fits within the smallest plan. Querying by Deployment CID, Subgraph ID or Endpoint Alias needs no plan: top up credits and pay as you go. Rates are on the pricing page.

For Indexers

The GraphOps Indexer Portal shows how our gateway sees your Indexer, its change log, and the steps to serve its queries. It’s public, with no sign-in. Questions about the indexing side are welcome here.

Same account, same key

GraphOps RPC (JSON-RPC, served from the same archive infrastructure as our Indexer) and GraphOps Substreams (standard packages over gRPC) share the organization, API keys and credits. With one key you can read contract state at the block a Subgraph’s _meta reports, so indexed data and live state agree.

We’ve contributed to The Graph and its indexing software since 2022, and one team runs every service here.

If you maintain Subgraphs that other applications depend on, I’d like to hear what an upgrade costs you today and what would make it safer.

Please don’t hesitate to respond with any questions.

Chris

2 Likes

Congratulations to Chris and the GraphOps team on launching GraphOps Platform to become the first independent gateway endorsed on The Graph Network!

Chris: Thank you for everything you have contributed to The Graph as a core dev building Indexer tooling since 2022, as a member of The Graph Council, as an Indexer serving the network, and now as a Gateway Operator. Few people have worked on as many sides of the network, and that experience shows in what GraphOps has built.

We are excited to welcome GraphOps to the access layer of The Graph Network. GraphOps has also been a design partner in bringing multiple gateways to the ecosystem. Its Indexer QoS API proposal became the starting point for the transparency data that every endorsed gateway now publishes, and its contributions to the gateway software and its feedback helped shape how the Foundation supports new Gateway Operators.

To learn how GraphOps contributed to bringing Subgraph Gateways to market, read our blog post, GraphOps Launches the First Endorsed Independent Gateway on The Graph Network. For the bigger picture, see Subgraph Gateways: Expanding Access on The Graph Network.

1 Like