0 Signal
Updated 6 months ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
xxxxxxxxxx
{
approvals(first: 5) {
id
owner
spender
value
}
ownershipTransferreds(first: 5) {
id
previousOwner
newOwner
blockNumber
}
}
1
x
{
"errors": [
{
"message": "subgraph not found: QmeZjUWjtPe7RMNMmhYiWELoStN3mBqzARQ3Z5Cqd3FVfk"
}
]
}
Query quick start
The production url for querying this Subgraph on the decentralized network.
Query url format
{base_url}
/subgraphs/id/
{subgraph_id}
- Api key
- Base URL
- Subgraph id
Query URL
https://gateway.thegraph.com/api/subgraphs/id/G4H2P9CgZQyZjroc6somHgNGsTaccvDZsRAPoQu653JH
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ approvals(first: 5) { id owner spender value } ownershipTransferreds(first: 5) { id previousOwner newOwner blockNumber } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/G4H2P9CgZQyZjroc6somHgNGsTaccvDZsRAPoQu653JH