Curator Trick – Website Inspection.
Let’s have a quick look at this helpful method that allows you to find out which subgraph is queried by a website.
To do so, right click on the page, search for Inspect Element
on the bottom of the navigation menu, switch to the Network Tab
, click on the search window and search for the term “thegraph.com.” Be sure that the XHR requests filter is activated. If not, turn it on an reload the page.
You can then verify if the query address that is returned from the XHR search is the same one as on the decentralized mainnet. To do so, visit the Subgraph in The Graph Explorer, navigate to Query URL
and click on the Copy
button next to it. Doing so will show you what the query request should look like. You can then use this information to verify it with the search results from above.
Step-By-Step Example.
Let’s have a look how all of this works with the following step-by-step example of Livepeer. On the Livepeer.org website, right click anywhere on the interface and click on Inspect Element
.
Next, find the navigation menu and switch to the Network Tab
. Be sure that the XHR requests filter is activated:
Click on the search window and search for the term “thegraph.com.” You can now reload the page.
You can then verify if the query address that is returned from the XHR search is the same one as on the decentralized mainnet. To do so, visit the Subgraph in The Graph Explorer, navigate to Query URL
and click on the Copy
button next to it. Doing so will show you what the query request should look like. You can then use this information to verify it with the search results from above.