We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When fetching the block height with:
curl -X POST \ -H "Content-Type: application/json" \ -d '{"query": "query GetBlockheight($node: String!) { block(limit: 1, order_by: { height: desc }, where: { accepted_by: { node: { name: { _like: $node } } } }) { height } }", "variables": { "node": "%testnet" }}' \ https://demo.chaingraph.cash/v1/graphql
the following response is returned:
{ "errors": [ { "extensions": { "code": "unexpected", "path": "$" }, "message": "database query error" } ] }
Note that the returned status code is 200 "OK". Also note that the same query works with mainnet.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When fetching the block height with:
the following response is returned:
Note that the returned status code is 200 "OK". Also note that the same query works with mainnet.
The text was updated successfully, but these errors were encountered: