---
# System prepended metadata

title: v2 Graph & API Notes

---

# v2 Graph & API Notes



main subgraph

https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-xdai
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-matic
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-optimism
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-arbitrum
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-celo
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-kovan
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-rinkeby

supplmentary data

https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-xdai
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-matic
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-optimism
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-arbitrum
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-celo
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-kovan
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-rinkeby

https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-xdai
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-matic
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-optimism
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-arbitrum
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-celo
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-kovan
https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-rinkeby


[v3 Graph](https://thegraph.com/hosted-service/subgraph/hausdao/daohaus-v3-goerli)

[DAOhaus Supergraph](https://github.com/HausDAO/daohaus-supergraph)
[DAOhaus Shamans Subgraph](https://github.com/hausdao/daohaus-shamans-subgraph)


[DAOhaus Shamans Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-shamans-subgraph)
[DAOhaus Shaman Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-shamans-subgraph)

[DAOhaus Shamans xdai Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-shamans-xdai)
[DAOhaus Shamans xdai Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-shamans-xdai)

[DAOhaus xdai Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-xdai)
[DAOhaus xdai Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-xdai)


[DAOhaus Stats Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai)


[DAOhaus Stats Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats)
[DAOhaus Stats Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats)

[DAOhaus Stats xdai Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-xdai)
[DAOhaus Stats xdai Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai)


[DAOhaus Stats Matic Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-matic)
[DAOhaus Stats Matic Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-matic)


[DAOhaus Shamans Rinkeby Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-shamans-rinkeby)
[DAOhaus Shamans Rinkeby Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-shamans-rinkeby)


[Query the Graph](https://thegraph.com/docs/en/developer/query-the-graph/)
[Helm Playbooks](https://helm.sh/) -- a lot of this infra for v3 Sam mentioned will be documented in Helm Playbooks that others can use to scaffold the infrastructure for their own use
[JP's Notes](https://hackmd.io/OSJ0F5suRTO3r5Vu3RhWyA?edit)
[Baal Functionality](https://gitcoin.co/grants/2918/molochv3-codename-baal)
[app.daohaus.club v2 Data](https://hackmd.io/o7cVYOO4SxiZ03afDDufqA?both)

Editing metadata hits api:

    data.daohaus.club/dao/0xef3d8c4fbb1860fceab16595db7e650cd5ad51c1
    data.daohaus.club/dao/vaults/0xef3d8c4fbb1860fceab16595db7e650cd5ad51c1


### XDai Endpoints

[DAOhaus Stats xdai Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-stats-xdai)
[DAOhaus Stats xdai Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-stats-xdai)

[DAOhaus xdai Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-xdai)
[DAOhaus xdai Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-xdai)

[DAOhaus Shamans xdai Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-shamans-xdai)
[DAOhaus Shamans xdai Endpoint](https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-shamans-xdai)

[DAOhaus Boosts Subgraph](https://thegraph.com/hosted-service/subgraph/odyssy-automaton/daohaus-boosts-xdai)


Celo
Optimism
Arbitrum
MainNet
Gnosis Chain



'guildBank'

'google app scripts' - able to run node scripts


indexer jobs that get US price for DAOs
ERC20, 721, 1155
Historical data that helps with chart

Utility folders
utils/requests.js
utils/superfluid.js
utils/tokenExplorerAPI.js


name/description is in an Airtable database
jobs that run on schedules to grab data -> mash it together into an s3 bucket
Gets json ready for the front end


v3 - poster contract singleton
contract with one single function - emits an event


Metadata going to the graph
Index/Bank Data going to the graph

Either use API we provide or clone it


Guildbank accessible from graph

[GraphQL Syntax](https://www.youtube.com/watch?v=NMZT-jnT0SM)
[GraphQL Visual Editor](https://graphiql-online.com/graphiql)
[Google Apps Script Instructions](https://developers.google.com/apps-script/quickstart/custom-functions)
[Metrics Wishlist](https://hackmd.io/Q2BHicz-Qmyc_db2h7t4vw)
https://ivangoncharov.github.io/graphql-voyager/



Questions for Sam:

Where is the repo to view/edit the back end of https://api.thegraph.com/subgraphs/name/odyssy-automaton/daohaus-xdai

Can you point me toward where I would look in that repo to learn exactly what this query is doing?

{
  members(where: {
    memberAddress: "0x27773b203954FBBb3e98DFa1a85A99e1c2f40f56"
  }){
    id,
     votes{
      id,
      uintVote
    }
  }
}