It is possible to query the node via its REST Interface.
In the node configuration, you have set something like:
# ... rest: listen: "127.0.0.1:8443" #...
This is the REST endpoint to talk to the node, to query blocks or send transaction.
It is possible to query the node stats with the following endpoint:
The result may be:
THE REST API IS STILL UNDER DEVELOPMENT
Please note that the endpoints and the results may change in the future.
See also the Generic blockchain node REST API documentation.