Skip to main content

PeerId

Type-safe Ethereum peer identifiers (enode URLs) for peer-to-peer networking.

Overview

Branded string type representing an Ethereum peer identifier in enode URL format. Enode URLs uniquely identify Ethereum nodes on the P2P network and contain the node’s public key, IP address, and connection ports.

Quick Start

Enode URL Format

Type Definitions

API Reference

Constructors

Methods

Use Cases

Node Discovery

Peer Management

Static Node Configuration

RPC Integration

Common Bootnodes

Mainnet

Sepolia

References