Skip to main content

ProtocolVersion

Ethereum wire protocol version identifier for P2P network communication.

Overview

ProtocolVersion represents the version of the Ethereum wire protocol used for peer-to-peer communication between nodes. Protocol versions define capabilities and message formats for node synchronization.

Type Definition

Protocol Versions

Usage

Create Protocol Version

Use Constants

Compare Versions

Convert to String

API Reference

Constructors

Methods

Constants

Protocol History

ETH/66 (Berlin)

  • Typed transactions support
  • Receipt status encoding

ETH/67 (London)

  • Removed GetNodeData/NodeData messages
  • Required for nodes after The Merge

ETH/68 (Current)

  • Transaction announcements include type and size
  • Improved transaction pool management

SNAP/1

  • Snapshot synchronization protocol
  • Fast state sync via state snapshots

Node Communication

When connecting to peers, nodes exchange supported protocol versions:

See Also