Closed julienbrg closed 1 month ago
Build completed: QmQ8dJap9ZuXUuj9ZvesxbVHfkUcBZuTrztD7bBvQhBunC
Deployed to https://thegraph.com/studio/subgraph/gov-subgraph
Subgraph endpoints: Queries (HTTP): https://api.studio.thegraph.com/query/52496/gov-subgraph/v0.0.1
DEVELOPMENT QUERY URL - LATEST VERSION : https://api.studio.thegraph.com/query/52496/gov-subgraph/version/latest
query proposalsCreated {
proposalCreateds {
proposalId
blockNumber
calldatas
description
voteEnd
voteStart
transactionHash
}
}
subgraph query example at https://github.com/bertux/subgraph-query/blob/main/index.ts
Query whith chronological ordering: { proposalCreateds(orderDirection: desc, orderBy: voteEnd) { proposalId blockNumber calldatas description voteEnd voteStart transactionHash } }
https://github.com/w3hc/gov-subgraph