Subgraph for Gardens frontend.
Indexed data from DAOs created through the GardensTemplate.
Network | TheGraph | HTTP endpoint |
---|---|---|
xDai | Hosted Service | https://api.thegraph.com/subgraphs/name/1hive/gardens-gnosis |
Polygon | Hosted Service | https://api.thegraph.com/subgraphs/name/1hive/gardens-polygon |
Goerli | Hosted Service | https://api.thegraph.com/subgraphs/name/1hive/gardens-goerli |
The example show how to query a list of Gardens.
query Organizations($first: Int!, $skip: Int!, $orderBy: String!, $orderDirection: String!) {
organizations(
first: $first
where: { active: true }
skip: $skip
orderBy: $orderBy
orderDirection: $orderDirection
) {
id
active
createdAt
proposalCount
token {
id
symbol
name
decimals
}
wrappableToken {
id
symbol
name
decimals
}
honeyLiquidity
supporterCount
incentivisedPriceOracle
unipool
}
}