Returns protocol version encoded as a string
Last updated 3 years ago
web3.eth.getProtocolVersion([callback])
Promise returns String: the protocol version.
> web3.eth.getProtocolVersion().then(console.log) > 1