Skip to content

Commit df2aaf2

Browse files
committed
adjustment
1 parent 17ae273 commit df2aaf2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

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

77
## Getting GraphQL Endpoint
88

9-
Once a subgraph is deployed to [Subgraph Studio](https://thegraph.com/studio/) or [Graph Explorer](https://thegraph.com/explorer), you will be given two endpoints for your GraphQL API that should look something like this:
9+
Once a subgraph is deployed to [Subgraph Studio](https://thegraph.com/studio/) or [Graph Explorer](https://thegraph.com/explorer), you will receive a Network and Subgraph Studio endpoint for your GraphQL API that looks like this:
1010

11-
### Network Endpoint
11+
### Subgraph Studio Endpoint
1212

1313
```
14-
https://gateway.thegraph.com/api/<API_KEY>/subgraphs/id/<SUBGRAPH_ID>
14+
https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>
1515
```
1616

17-
### Subgraph Studio Endpoint
17+
### Network Endpoint
1818

1919
```
20-
https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>
20+
https://gateway.thegraph.com/api/<API_KEY>/subgraphs/id/<SUBGRAPH_ID>
2121
```
2222

2323
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.

0 commit comments

Comments
 (0)