Network
xdai
Subgraph ID
9fUVQp—81pbbz
Deployment ID
QmaJSe—8RYmhp
Query URL
/subgraphs/id/9fUVQp—81pbbz
89.4M Queries (Past 30D)
14.4K Signal
Updated a year ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
questions(first: 5) {
id
templateId
data
title
}
answers(first: 5) {
id
answer
bondAggregate
question {
id
}
}
}
1
x
Query quick start
The production url for querying this Subgraph on the decentralized network.
Query url format
{base_url}
/api
/subgraphs/id/
{subgraph_id}
- Api key
- Base URL
- Subgraph id
Query URL
https://gateway.thegraph.com/api/subgraphs/id/9fUVQpFwzpdWS9bq5WkAnmKbNNcoBwatMR4yZq81pbbz
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ questions(first: 5) { id templateId data title } answers(first: 5) { id answer bondAggregate question { id } } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/9fUVQpFwzpdWS9bq5WkAnmKbNNcoBwatMR4yZq81pbbz