admin_nodeInfo returns all the information known about the running
Geth node at the networking granularity.
Usage
admin_nodeInfo()
Arguments
Value
Object - Properties with information about the node (enode, version,
port, ip, id, etc.).
Details
These include general information about the node itself as a participant of
the P2P overlay protocol, as well as specialized information added by each of
the running application protocols (e.g. eth, les, shh, bzz).