Web3.js: isConnected

Created on 6 Feb 2018  路  3Comments  路  Source: ChainSafe/web3.js

What is the new method for determining if you have an active connection to a node? I need to set up an error state in my app if the user stops parity.

Most helpful comment

web3.eth.getNodeInfo() is now available in beta-34

All 3 comments

There is not. You can try the method to get the geth version or an other "small" function.

web3.version.node or web3.version.getNode() is not working!!

web3.eth.getNodeInfo() is now available in beta-34

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TinyWJL picture TinyWJL  路  3Comments

gabmontes picture gabmontes  路  3Comments

xpepermint picture xpepermint  路  3Comments

oktapodia picture oktapodia  路  3Comments

connectdotz picture connectdotz  路  3Comments