Transfer and Deprecate a Subgraph
Reading time: 2 min
Subgraphs published to the decentralized network have an NFT minted to the address that published the subgraph. The NFT is based on a standard ERC721, which facilitates transfers between accounts on The Graph Network.
Please note the following:
- Whoever owns the NFT controls the subgraph.
- If the owner decides to sell or transfer the NFT, they will no longer be able to edit or update that subgraph on the network.
- You can easily move control of a subgraph to a multi-sig.
- A community member can create a subgraph on behalf of a DAO.
To view your subgraph as an NFT, you can visit an NFT marketplace like OpenSea:
https://opensea.io/your-wallet-address
Or a wallet explorer like Rainbow.me:
https://rainbow.me/your-wallet-addres
To transfer ownership of a subgraph, do the following:
Use the UI built into Subgraph Studio:
Choose the address that you would like to transfer the subgraph to:
Optionally, you can also use the built-in UI of NFT marketplaces like OpenSea:
Although you cannot delete a subgraph, you can deprecate it on Graph Explorer.
To deprecate your subgraph, do the following:
- Visit the contract address for Arbitrum One subgraphs .
- Call
deprecateSubgraph
with yourSubgraphID
as your argument. - Your subgraph will no longer appear in searches on Graph Explorer.
Please note the following:
- The owner's wallet should call the
deprecateSubgraph
function. - Curators will not be able to signal on the subgraph anymore.
- Curators that already signaled on the subgraph can withdraw their signal at an average share price.
- Deprecated subgraphs will show an error message.
If you interacted with the deprecated subgraph, you can find it in your user profile under the "Subgraphs", "Indexing", or "Curating" tab, respectively.