Alchemix · GraphQL Specification

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.

Documentation Endpoint View on GitHub DeFiSelf-Repaying LoansSynthetic AssetsYieldEthereumBlockchainLendingalUSDalETHALCXGraphQL

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

https://gateway.thegraph.com/api/[api-key]/subgraphs/id/[subgraph-id]

References

Back to Alchemix · All GraphQL Specs · GitHub