Alchemy Logo

/v1/node/peers

GET
https://eth-mainnetbeacon.g.alchemy.com/v2/docs-demo/eth/v1/node/peers

Retrieves data about the node's network peers. By default this returns all peers. Multiple query params are combined using AND conditions.

Query Parameters

stateenum[]optional

Filter peers by their connection state. Available values: disconnected, connecting, connected, disconnecting.

directionenum[]optional

Filter peers by their connection direction. Available values: inbound, outbound.

Responses

200

Request successful.

Was this page helpful?