Ankr Json-RPC End-Point

How to obtain the Neo Ankr End-Point and execute a simple request.

Obtain Ankr End-point

After successfully deploying an Ankr Full node, the End-point can be found on the application details, on the left side of the screen:

The RPC endpoint will have the following format:


Example (as shown in the image above):

Simple Json-RPC Request

// Request
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "getversion","params": []}' http://<your-app-id>
// Result
"jsonrpc": "2.0",
"id": "1",
"result": {
"port": 10333,
"nonce": 975780516,
"useragent": "/Neo:2.10.3/"

In the next sections, we will describe some of the RPC requests. Most of them can be found in the official documentation.