snapshot logo

snapshot

12.8M Queries (Past 30D)

49.5K Signal

Updated 6 months ago

Network

mainnet

Subgraph ID

4Ygtog—4avAQo

Deployment ID

QmXZiV—Kc28EH

Query URL

/subgraphs/id/4Ygtog—4avAQo

12.8M Queries (Past 30D)

49.5K Signal

Updated 6 months ago

Network
mainnet
Subgraph ID
4Ygtog—4avAQo
Deployment ID
QmXZiV—Kc28EH
Query URL
/subgraphs/id/4Ygtog—4avAQo
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
4YgtogVaqoM8CErHWDK8mKQ825BcVdKB8vBYmb4avAQo
Query URL
https://gateway.thegraph.com/api/subgraphs/id/4YgtogVaqoM8CErHWDK8mKQ825BcVdKB8vBYmb4avAQo

bash
curl -X POST \  -H "Content-Type: application/json" \  -H "Authorization: Bearer {api-key}" \  -d '{"query": "{ delegations(first: 5) { id delegator space delegate } blocks(first: 5) { id number timestamp } }", "operationName": "Subgraphs", "variables": {}}' \  https://gateway.thegraph.com/api/subgraphs/id/4YgtogVaqoM8CErHWDK8mKQ825BcVdKB8vBYmb4avAQo