Network
optimism
Subgraph ID
9nmXXk—bxw61q
Deployment ID
QmSCr9—bA3Fw1
Query URL
/subgraphs/id/9nmXXk—bxw61q
9.9K Queries (Past 30D)
9.8K Signal
Updated a year ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
hats(first: 5) {
id
prettyId
status
createdAt
}
wearers(first: 5) {
id
currentHats {
id
}
mintEvent {
id
}
burnEvent {
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/9nmXXk3ysDVY4sFygWQNQknwiJLCPnrUNzDRw8bxw61q
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ hats(first: 5) { id prettyId status createdAt } wearers(first: 5) { id currentHats { id } mintEvent { id } burnEvent { id } } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/9nmXXk3ysDVY4sFygWQNQknwiJLCPnrUNzDRw8bxw61q