Node
Get node network peers
Retrieves data about the node's network peers. By default this returns all peers. Multiple query params are combined using AND conditions
get/eth/v1/node/peers
Request
- Base URL: http://public-mainnet-node.ethereum.org
- URL: http://public-mainnet-node.ethereum.org/eth/v1/node/peers
- Auth: none declared
Query parameters
statestring[]
directionstring[]
Response
Request successful
Example response
{
"data": [
{
"peer_id": "QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N",
"enr": "enr:-IS4QHCYrYZbAKWCBRlAy5zzaDZXJBGkcnh4MHcBFZntXNFrdvJjX04jRzjzCBOonrkTfj499SZuOh8R33Ls8RRcy5wBgmlkgnY0gmlwhH8AAAGJc2VjcDI1NmsxoQPKY0yuDUmstAHYpMa2_oxVtw0RW_QAdpzBQA8yWM0xOIN1ZHCCdl8",
"last_seen_p2p_address": "/ip4/7.7.7.7/tcp/4242/p2p/QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N"
}
],
"meta": {
"count": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.