Alchemix GraphQL API
Alchemix uses The Graph protocol to index on-chain events from its smart contracts and expose protocol data via GraphQL. The subgraph tracks Alchemist vault positions (deposits, withdrawals, harvests, liquidations, mints, repayments), Transmuter and TransmuterBuffer state, Curve pool exchanges and liquidity, ThreePoolAssetManager and EthAssetManager activity, and associated historical timeseries. The subgraph is queried by the official Alchemix frontend to display user balances, debt positions, yield strategy performance, and transmuter APR estimates.
Overview
Alchemix GraphQL API is a GraphQL API specification published by Alchemix on the APIs.io network.
Alchemix uses The Graph protocol to index on-chain events from its smart contracts and expose protocol data via GraphQL. The subgraph tracks Alchemist vault positions (deposits, withdrawals, harvests, liquidations, mints, repayments), Transmuter and TransmuterBuffer state, Curve pool exchanges and liquidity, ThreePoolAssetManager and EthAssetManager activity, and associated historical timeseries. The subgraph is queried by the official Alchemix frontend to display user balances, debt positions, yield strategy performance, and transmuter APR estimates.
The GraphQL endpoint is available at https://gateway.thegraph.com/api/[api-key]/subgraphs/id/[subgraph-id]. documentation is published at https://thegraph.com/docs/en/subgraphs/querying/introduction/.
The specification includes 5 reference links.
Tagged areas include DeFi, Self-Repaying Loans, Synthetic Assets, Yield, and Ethereum.
Endpoint
References
- Documentation https://thegraph.com/docs/en/subgraphs/querying/introduction/
- GettingStarted https://thegraph.com/docs/en/subgraphs/quick-start/
- SourceCode https://github.com/alchemix-finance/subgraph
- Explorer https://thegraph.com/explorer?search=alchemix
- APIKeys https://thegraph.com/studio/