net_listening
Returns true if client is actively listening for network connections. Otherwise false
web3.eth.net.ListeningParameters
Returns
Example
const Listening = web3.net.Listening
console.log(Listening);
> trueLast updated