RPC Documentation

Good to know: Port used are 41517 by default, you can change it on the config.json file, restart application are needed after changing the file.

Curl example

curl -i -X POST -H "Content-Type: application/json; indent=4" -d '
    { 
        "jsonrpc": "2.0", 
        "method": "get_height", 
        "id": "1" 
    }
    ' YOUR_NODES_IP:PORT

Get Block Height

Request parameter:

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "get_height"
}

Get User Balance

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "get_balance",
  "params": {
    "address": "user base58 address"
  }
}

Complete documentation are still not available till now (18/mar/2023)

Last updated