Subgraphs
GraphQL subgraph endpoints for querying on-chain MuchFi trading data
MuchFi indexes on-chain trading data into GraphQL subgraphs, giving you a flexible query interface for AMM (V2) and CLMM (V3) pools, swaps, liquidity positions, and user activity — alongside the REST API and WebSocket streams.
Endpoints
| Subgraph | Endpoint |
|---|---|
| AMM (V2) | Coming soon |
| CLMM (V3) | Coming soon |
| Subgraph | Endpoint |
|---|---|
| AMM (V2) | Coming soon |
| CLMM (V3) | Coming soon |
Usage
Once the endpoints are published, send standard GraphQL POST requests to a subgraph URL:
curl -X POST YOUR_SUBGRAPH_URL \
-H "Content-Type: application/json" \
-d '{"query":"{ pools(first: 5, orderBy: totalValueLockedUSD, orderDirection: desc) { id token0 { symbol } token1 { symbol } totalValueLockedUSD } }"}'Tip
Use the AMM (V2) subgraph for Uniswap V2-style pair data and the CLMM (V3) subgraph for concentrated-liquidity pool and position data.