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:
Visit the contract address here
Call 'deprecateSubgraph' with your own address as the first parameter
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.
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 ofgraphAccount
=<0x4bb4c1b0745ef7b4642feeccd0740dec417ca0a0>
andsubgraphNumber
=<0>
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