Compound Governance logo

Compound Governance

12 Queries (Past 30D)

1.0 Signal

Updated a year ago

Network

mainnet

Subgraph ID

5A9kKY—QNV128

Deployment ID

Qmev2Y—Sy5PNq

Query URL

/subgraphs/id/5A9kKY—QNV128

12 Queries (Past 30D)

1.0 Signal

Updated a year ago

Network
mainnet
Subgraph ID
5A9kKY—QNV128
Deployment ID
Qmev2Y—Sy5PNq
Query URL
/subgraphs/id/5A9kKY—QNV128
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
5A9kKYWu8aD6tYHHLwjxgEt7dQkRFm41yyXtA6QNV128
Query URL
https://gateway.thegraph.com/api/subgraphs/id/5A9kKYWu8aD6tYHHLwjxgEt7dQkRFm41yyXtA6QNV128

bash
curl -X POST \  -H "Content-Type: application/json" \  -H "Authorization: Bearer {api-key}" \  -d '{"query": "{ tokenHolders(first: 5) { id delegate { id } tokenBalanceRaw tokenBalance } delegates(first: 5) { id delegatedVotesRaw delegatedVotes tokenHoldersRepresentedAmount } }", "operationName": "Subgraphs", "variables": {}}' \  https://gateway.thegraph.com/api/subgraphs/id/5A9kKYWu8aD6tYHHLwjxgEt7dQkRFm41yyXtA6QNV128