Add example GQL queries
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 25s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m16s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 6m8s
Smoke Test / Run basic test suite (pull_request) Successful in 3m3s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m39s

This commit is contained in:
Prathamesh Musale 2024-03-06 11:53:57 +05:30
parent df765beb6a
commit 9b7d2bd918
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> 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 ## Clean up
Stop all the merkl-sushiswap-v3 services running in background: 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> 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 ## Clean up
Stop all the sushiswap-v3 services running in background: Stop all the sushiswap-v3 services running in background: