This section explains the UMA subgraph and how to interact with it. The UMA subgraph indexes data from UMA contracts over time. It organizes data about tokenholders, contracts, DVM requests, voting, and more. The subgraph updates for each UMA contract interaction. The subgraph runs on The Graph protocol’s hosted service and can be openly queried.
UMA has a GraphQL API Endpoint hosted by The Graph called a subgraph for indexing and organizing data from the smart contracts. The schema of GraphQL elements available is defined in
the subgraphs repo.
- Graphql Endpoint: https://gateway.thegraph.com/api/[api-key]/subgraphs/id//41LCrgtCNBQyDiVVyZEuPxbvkBH9BxxLU3nEZst77V8o
EMP Subgraphs (includes query for whitelisted collateral)