net

listening(): bool

  • interface: api.rpc.net.listening

  • jsonrpc: net_listening

  • summary: Returns true if client is actively listening for network connections. Otherwise false.

peerCount(): Text

  • interface: api.rpc.net.peerCount

  • jsonrpc: net_peerCount

  • summary: Returns number of peers connected to node.

version(): Text

  • interface: api.rpc.net.version

  • jsonrpc: net_version

  • summary: Returns protocol version.

Last updated