Network
mainnet
Subgraph ID
4RTrnx—iXFQCH
Deployment ID
Qmbwuq—ZfVbfm
Query URL
/subgraphs/id/4RTrnx—iXFQCH
10.0K Queries (Past 30D)
9.9K Signal
Updated 2 years ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
assets(first: 5) {
id
symbol
name
decimals
}
assetPairs(first: 5) {
id
asset {
id
}
comparedAsset {
id
}
currentPrice
}
}
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/4RTrnxLZ4H8EBdpAQTcVc7LQY9kk85WNLyVzg5iXFQCH
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ assets(first: 5) { id symbol name decimals } assetPairs(first: 5) { id asset { id } comparedAsset { id } currentPrice } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/4RTrnxLZ4H8EBdpAQTcVc7LQY9kk85WNLyVzg5iXFQCH