DAOhaus v2
Developers
Introduction to Subgraphs

DAOhaus V2 Subgraph Introduction

DAOhaus has a GraphQL API Endpoint hosted by The Graph (opens in a new tab) called a subgraph for indexing and organizing data from the DAOhaus smart contracts.

This subgraph can be used to query on-chain DAOhaus data. The subgraph data is serviced by a decentralized group of server operators called Indexers (opens in a new tab).

The DAOhaus subgraph works by listening for events emitted by one or more data sources (Smart Contracts) on the various chains. It handles the indexing and caching of data which can later be queried using the GraphQL API Endpoint, providing an excellent developer experience.

Get Started

Learn more about how subgraphs work by checking out The Graph's official documentation (opens in a new tab). If you are unfamiliar with GraphQL, we recommend taking a quick look through their documentation first here (opens in a new tab)

Links

Helpful Resources