Network
optimism
Subgraph ID
CgH5vt—T1ySXW
Deployment ID
QmPewB—FXthxj
Query URL
/subgraphs/id/CgH5vt—T1ySXW
3.2K Queries (Past 30D)
1.0 Signal
Updated a year ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
daos(first: 5) {
id
createdAt
createdBy
txHash
}
proposals(first: 5) {
id
createdAt
createdBy
proposedBy
}
}
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/CgH5vtz9CJPdcSmD3XEh8fCVDjQjnRwrSawg71T1ySXW
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ daos(first: 5) { id createdAt createdBy txHash } proposals(first: 5) { id createdAt createdBy proposedBy } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/CgH5vtz9CJPdcSmD3XEh8fCVDjQjnRwrSawg71T1ySXW