Ankr JSON-RPC endpoint

Get the Endpoint URL

After successfully deploying a node on Ankr you can get the endpoint from the Application details section as seen below:

The Endpoint URL will have the following format:

http://<your_app_id>.ankr.com

Example (as shown in the image above):

http://app-3ca28d07-1baa-4c3b-bf46-f2ccd91a43af.cls-dec3c32b-4f06-462f-b827-dee931d39a72.ankr.com

JSON-RPC request example

//request
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"status","params":[],"id":"dontcare"}' app-e9bcaaf1-a10d-4128-a407-0de3e904065f.cls-dec3c32b-4f06-462f-b827-dee931d39a72.ankr.com
//response

In the next section, you will find a detailed description of the provided Herdera API endpoints which can also be consulted on the Ontology Official Documentation