# eth\_protocolVersion

```
web3.eth.getProtocolVersion([callback])
```

#### Returns

Promise returns String: the protocol version.

#### Example

```
> web3.eth.getProtocolVersion().then(console.log)
> 1
```
