Add example GQL queries

This commit is contained in:
Prathamesh Musale 2024-03-06 11:53:57 +05:30
parent 14be98f934
commit 36e67c64e6
2 changed files with 40 additions and 0 deletions

View File

@ -72,6 +72,26 @@ laconic-so deployment --dir merkl-sushiswap-v3-deployment start
docker logs -f <CONTAINER_ID>
```
* Open the GQL playground at http://localhost:3007/graphql
```graphql
# Example query
{
_meta {
block {
number
timestamp
}
hasIndexingErrors
}
factories {
id
poolCount
}
}
```
## Clean up
Stop all the merkl-sushiswap-v3 services running in background:

View File

@ -72,6 +72,26 @@ laconic-so deployment --dir sushiswap-v3-deployment start
docker logs -f <CONTAINER_ID>
```
* Open the GQL playground at http://localhost:3008/graphql
```graphql
# Example query
{
_meta {
block {
number
timestamp
}
hasIndexingErrors
}
factories {
id
poolCount
}
}
```
## Clean up
Stop all the sushiswap-v3 services running in background: