Network
mainnet
Subgraph ID
2hTKKM—8ZcyP8
Deployment ID
QmaiMY—irQ3bZ
Query URL
/subgraphs/id/2hTKKM—8ZcyP8
3.7K Queries (Past 30D)
6.6 Signal
Updated 2 years ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
accounts(first: 5) {
id
punksOwned {
id
}
bought {
id
}
nftsOwned
}
punks(first: 5) {
id
transferedTo {
id
}
assignedTo {
id
}
purchasedBy {
id
}
}
}
1
x
Query quick start
The production url for querying this Subgraph on the decentralized network.
Query url format
{base_url}
/api
/subgraphs/id/
{subgraph_id}
- Api key
- Base URL
- Subgraph id
Query URL
https://gateway.thegraph.com/api/subgraphs/id/2hTKKMwLsdfJm9N7gUeajkgg8sdJwky56Zpkvg8ZcyP8
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ accounts(first: 5) { id punksOwned { id } bought { id } nftsOwned } punks(first: 5) { id transferedTo { id } assignedTo { id } purchasedBy { id } } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/2hTKKMwLsdfJm9N7gUeajkgg8sdJwky56Zpkvg8ZcyP8