Network
bsc
Subgraph ID
G5MUbS—YjKr7K
Deployment ID
QmaK5s—K5JXru
Query URL
/subgraphs/id/G5MUbS—YjKr7K
5.1M Queries (Past 30D)
7.0K Signal
Updated 10 months ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
factories(first: 5) {
id
poolCount
txCount
totalVolumeUSD
}
bundles(first: 5) {
id
ethPriceUSD
}
}
1
xxxxxxxxxx
{
"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/G5MUbSBM7Nsrm9tH2tGQUiAF4SZDGf2qeo1xPLYjKr7K
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ factories(first: 5) { id poolCount txCount totalVolumeUSD } bundles(first: 5) { id ethPriceUSD } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/G5MUbSBM7Nsrm9tH2tGQUiAF4SZDGf2qeo1xPLYjKr7K