API Overview
This section explains the Defyswap Subgraph and how to interact with it. The Defyswap subgraph indexes data from the Defyswap contracts over time. It organizes data about pairs, tokens, Defyswap as a whole, and more. The subgraph updates any time a transaction is made on Defyswap. The subgraph runs on The Graph protocol's hosted service and can be openly queried.
The subgraph provides a snapshot of the current state of Defyswap and also tracks historical data. It is currently used to power defyswap.finance/info. 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).