Compound V2 logo

Compound V2

1.2K Queries (Past 30D)

891.1 Signal

Updated a year ago

Network

mainnet

Subgraph ID

3D5iVS—YVT2yw

Deployment ID

Qma2AG—X1srMf

Query URL

/subgraphs/id/3D5iVS—YVT2yw

1.2K Queries (Past 30D)

891.1 Signal

Updated a year ago

Network
mainnet
Subgraph ID
3D5iVS—YVT2yw
Deployment ID
Qma2AG—X1srMf
Query URL
/subgraphs/id/3D5iVS—YVT2yw
Index Status

Query quick start

The production url for querying this Subgraph on the decentralized network.

Query url format

{base_url}

/api

/subgraphs/id/

{subgraph_id}

Base URL
https://gateway.thegraph.com/api
Subgraph id
3D5iVSy3jiTKSQAT8UjW9in6ZuiDA7WnDiDRBzYVT2yw
Query URL
https://gateway.thegraph.com/api/subgraphs/id/3D5iVSy3jiTKSQAT8UjW9in6ZuiDA7WnDiDRBzYVT2yw

bash
curl -X POST \  -H "Content-Type: application/json" \  -H "Authorization: Bearer {api-key}" \  -d '{"query": "{ protocols(first: 5) { id priceOracle lastNewOracleBlockNumber latestBlockNumber } markets(first: 5) { id creationBlockNumber latestBlockNumber cTokenSymbol } }", "operationName": "Subgraphs", "variables": {}}' \  https://gateway.thegraph.com/api/subgraphs/id/3D5iVSy3jiTKSQAT8UjW9in6ZuiDA7WnDiDRBzYVT2yw