Skip to main content

PeerInfo

Type-safe structure for connected peer information returned by admin_peers RPC method.

Overview

PeerInfo represents metadata about a connected Ethereum peer, including identity, capabilities, network connection details, and protocol-specific state. This data is returned by the admin_peers RPC method available in Geth and compatible clients.

Quick Start

Type Definition

API Reference

Constructors

Methods

Peer Properties

Capabilities

The caps array lists protocols the peer supports:

Network Information

Client Name

Protocol State

Use Cases

Peer Monitoring Dashboard

Filter Peers by Capability

Identify Sync Partners

Connection Health Check

References