Network
matic
Subgraph ID
5KjZ14—koGAw5
Deployment ID
QmaJua—o6yHk7
Query URL
/subgraphs/id/5KjZ14—koGAw5
3.6K Queries (Past 30D)
3.1K Signal
Updated 10 months ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
swapIntervals(first: 5) {
id
interval
active
}
pairs(first: 5) {
id
tokenA {
id
}
tokenB {
id
}
activePositionIds
}
}
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/5KjZ14Rpte3v7gy6rwxm2USBQMeXrGdoEboMUMkoGAw5
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ swapIntervals(first: 5) { id interval active } pairs(first: 5) { id tokenA { id } tokenB { id } activePositionIds } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/5KjZ14Rpte3v7gy6rwxm2USBQMeXrGdoEboMUMkoGAw5