Network
base
Subgraph ID
9qxDXD—c5HQWh
Deployment ID
QmY3E5—Kp3Pxq
Query URL
/subgraphs/id/9qxDXD—c5HQWh
2.4M Queries (Past 30D)
29.7 Signal
Updated 6 months ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
delegations(first: 5) {
id
delegator
space
delegate
}
blocks(first: 5) {
id
number
timestamp
}
}
1
x
{
"errors": [
{
"message": "Unexpected token '<', \"<!DOCTYPE \"... is not valid JSON",
"stack": "SyntaxError: Unexpected token '<', \"<!DOCTYPE \"... is not valid JSON"
}
]
}
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/9qxDXD1SNnZriMMkCRVAmSdsv4KP6Xvnr8U2CRc5HQWh
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ delegations(first: 5) { id delegator space delegate } blocks(first: 5) { id number timestamp } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/9qxDXD1SNnZriMMkCRVAmSdsv4KP6Xvnr8U2CRc5HQWh