Network
avalanche
Subgraph ID
DPjhMa—2FCDqN
Deployment ID
QmRngi—2STqMs
Query URL
/subgraphs/id/DPjhMa—2FCDqN
103.3 Signal
Updated 9 months ago
- Network
- Subgraph ID
- Deployment ID
- Query URL
- Index Status
xxxxxxxxxx
{
smartLoans(first: 5) {
id
creator {
id
}
createdTimestamp
isLiquidated
}
users(first: 5) {
id
collateralAsset
collateralAmount
transactions {
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/DPjhMarRUjoC6yoLGKaCDduf9xTKhzKVXU7pFc2FCDqN
bash
curl -X POST \ -H "Content-Type: application/json" \ -H "Authorization: Bearer {api-key}" \ -d '{"query": "{ smartLoans(first: 5) { id creator { id } createdTimestamp isLiquidated } users(first: 5) { id collateralAsset collateralAmount transactions { id } } }", "operationName": "Subgraphs", "variables": {}}' \ https://gateway.thegraph.com/api/subgraphs/id/DPjhMarRUjoC6yoLGKaCDduf9xTKhzKVXU7pFc2FCDqN