Deprecating a Subgraph

So you'd like to deprecate your subgraph on The Graph Explorer. You've come to the right place! Follow the steps below:

  1. Visit the contract address here

  2. Call 'deprecateSubgraph' with your own address as the first parameter

  3. In the 'subgraphNumber' field, list 0 if it's the first subgraph you're publishing, 1 if it's your second, 2 if it's your third, etc.

  4. Inputs for #2 and #3 can be found in your <SubgraphID> which is composed of the {graphAccount}-{subgraphNumber}. For example, the Sushi Subgraph's ID is <0x4bb4c1b0745ef7b4642feeccd0740dec417ca0a0-0>, which is a combination of graphAccount = <0x4bb4c1b0745ef7b4642feeccd0740dec417ca0a0> and subgraphNumber = <0>

  5. Voila! Your subgraph will no longer show up on searches on The Graph Explorer. Please note the following:

  • Curators will not be able to signal on the subgraph anymore.

  • Curators that already signaled on the subgraph will be able to withdraw their signal at an average share price.

  • Deprecated subgraphs will be indicated with an error message.

If you interacted with the deprecated subgraph, you'll be able to find it in your user profile under the "Subgraphs", "Indexing", or "Curating" tab, respectively.

Last updated