Network
sonic
Subgraph ID
J2THmw—W1Z1Qc
Deployment ID
QmXDB4—ABpsMv
Query URL
/subgraphs/id/J2THmw—W1Z1Qc
6.2K Queries (Past 30D)
4.9 Signal
Updated a month ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
tokens(first: 5) {
id
name
symbol
decimals
}
interestRates(first: 5) {
id
rate
side
type
}
}
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/J2THmwKHrTLKT9HPZNwZ69NkJ7WSbtLKz7pUQZW1Z1Qc
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ tokens(first: 5) { id name symbol decimals } interestRates(first: 5) { id rate side type } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/J2THmwKHrTLKT9HPZNwZ69NkJ7WSbtLKz7pUQZW1Z1Qc