Ankr GraphQL End-Point

How to obtain the Ankr End-Point and make a simple request

Obtain Ankr End-point

After successfully deploying an Matic Full node, the End-point can be found on the application details, on the Information screen:

The RPC Endpoint has the following format:

http://<your-app-id>.ankr.com/graphql

Example (as shown in the image above):

http://app-82026c54-a336-4ce4-bcae-352824351322.cls-593f3f46-316e-4f00-8ebd-9a45cfde390d.ankr.com/graphql

Simple GraphQL Request

// Request
curl -X POST -H "Content-Type: application/json" -d '{"query": "{ cardanoDbMeta { initialized syncPercentage }}"}' http://<your-app-id>.ankr.com/graphql
// Result
{
"data": {
"cardanoDbMeta": {
"initialized": true,
"syncPercentage": 100
}
}
}

In the