Skip to content

Commit 96c14df

Browse files
idalithbbenface
andauthored
Adding Clarity-Query-app (#855)
* Adding updates * Update website/pages/en/subgraphs/querying/from-an-application.mdx --------- Co-authored-by: Benoît Rouleau <[email protected]>
1 parent cd4630a commit 96c14df

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

website/pages/en/subgraphs/querying/from-an-application.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,27 @@ Learn how to query The Graph from your application.
66

77
## Getting GraphQL Endpoints
88

9-
Once a subgraph is deployed to [Subgraph Studio](https://thegraph.com/studio/) or [Graph Explorer](https://thegraph.com/explorer), you will receive two GraphQL API endpoints that look like this:
9+
During the development process, you will receive a GraphQL API endpoint at two different stages: one for testing in Subgraph Studio, and another for making queries to The Graph Network in production.
1010

1111
### Subgraph Studio Endpoint
1212

13+
After deploying your subgraph to [Subgraph Studio](https://thegraph.com/docs/en/subgraphs/developing/deploying/using-subgraph-studio/), you will receive an endpoint that looks like this:
14+
1315
```
1416
https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>
1517
```
1618

17-
### Network Endpoint
19+
> This endpoint is intended for testing purposes **only** and is rate-limited.
20+
21+
### The Graph Network Endpoint
22+
23+
After publishing your subgraph to the network, you will receive an endpoint that looks like this: :
1824

1925
```
2026
https://gateway.thegraph.com/api/<API_KEY>/subgraphs/id/<SUBGRAPH_ID>
2127
```
2228

23-
With your GraphQL endpoint, you can use various GraphQL Client libraries to query the subgraph and populate your app with data indexed by the subgraph.
29+
> This endpoint is intended for active use on the network. It allows you to use various GraphQL client libraries to query the subgraph and populate your application with indexed data.
2430
2531
## Using Popular GraphQL Clients
2632

0 commit comments

Comments
 (0)