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