Network
optimism
Subgraph ID
oCXkHN—mH9pMz
Deployment ID
QmaFvc—ktMnwD
Query URL
/subgraphs/id/oCXkHN—mH9pMz
0 Signal
Updated 10 months ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
tokens(first: 5) {
id
name
symbol
decimals
}
rewardTokens(first: 5) {
id
token {
id
}
type
}
}
1
x
{
"errors": [
{
"message": "subgraph not found: no allocations"
}
]
}
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/oCXkHNdxxBgfLTN7PdzjcN8ppz1nQxgyjoo7qmH9pMz
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ tokens(first: 5) { id name symbol decimals } rewardTokens(first: 5) { id token { id } type } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/oCXkHNdxxBgfLTN7PdzjcN8ppz1nQxgyjoo7qmH9pMz