This section explains the Materia Subgraph and how to interact with it. The subgraph indexes data from the Materia contracts over time. It organizes data about pairs, tokens, Materia as a whole, and more. The subgraph updates any time a transaction is made. The subgraph runs on The Graph protocol’s hosted service and can be openly queried.
Subgraph Explorer - sandbox for querying data and endpoints for developers.
Materia Subgraph - source code for deployed subgraph.
The subgraph provides a snapshot of the current state and also tracks historical data. It is currently used to power info.materia. It is not intended to be used as a data source for structuring transactions (contracts should be referenced directly for the most reliable live data).
To learn more about querying a subgraph refer to The Graph’s documentation.