API Overview
This section explains the Pegasys Subgraph and how to interact with it. The Pegasys subgraph indexes data from the Pegasys contracts over time. It organizes data about pairs, tokens, Pegasys as a whole, and more. The subgraph updates any time a transaction is made on Pegasys. The subgraph runs on The Graph protocol's hosted service and can be openly queried.
Entities
Entities define the schema of the subgraph, and represent the data that can be queried. Within each entity are sets of fields that store useful information related to the entity. Below is a list of the available entities within the Pegasys Subgraph, and descriptions for the available fields.
Queries
The subgraph can be queried to retrieve important information about Pegasys, pairs, tokens, transactions, users, and more. This page will provide examples for common queries.