eth_protocolVersion
Returns protocol version encoded as a string
web3.eth.getProtocolVersion([callback])Returns
Example
> web3.eth.getProtocolVersion().then(console.log)
> 1Last updated
Returns protocol version encoded as a string
web3.eth.getProtocolVersion([callback])> web3.eth.getProtocolVersion().then(console.log)
> 1Last updated