Overview
Last modified:
CenturionDEX Subgraphs
CenturionDEX uses subgraphs to index onchain data and expose it through GraphQL. Public deployments are available on The Graph Explorer for v2 and v3.
Versions and Production Endpoints
Each protocol version has its own deployment. Hosted service URLs are deprecated; query through The Graph decentralized network endpoints.
Each deployment has:
- A Graph Explorer page where you can run queries and inspect schema
- A GraphQL endpoint using your API key
Creating an API Key
Create API keys in The Graph Studio. Include your key in requests:
https://gateway.thegraph.com/api/<YOUR_API_KEY>/subgraphs/id/<SUBGRAPH_ID>
Mainnet Deployments
v3
- Subgraph
- GraphQL endpoint:
https://gateway.thegraph.com/api/<YOUR_API_KEY>/subgraphs/id/5zvR82QoaXYFyDEKLZ9t6v9adgnptxYpKpSbxtgVENFV - Code: centurion-dex-subgraphs
v2
- Subgraph
- GraphQL endpoint:
https://gateway.thegraph.com/api/<YOUR_API_KEY>/subgraphs/id/A3Np3RQbaBA6oKJgiwDJeo5T3zrYfGHPWFYayMwtNDum - Code: centurion-dex-subgraphs
v1 (Legacy, Read-only)
- Subgraph
- GraphQL endpoint:
https://gateway.thegraph.com/api/<YOUR_API_KEY>/subgraphs/id/ESnjgAG9NjfmHypk4Huu4PVvz55fUwpyrRqHF21thoLJ - Code: graphprotocol/centurion-subgraph
v3 Subgraphs for other chains
| Chain | Explorer |
|---|---|
| Arbitrum | Subgraph |
| Base | Subgraph |
| Optimism | Subgraph |
| Polygon | Subgraph |
| BSC | Subgraph |
| Avalanche | Subgraph |
| Celo | Subgraph |
| Blast | Subgraph |