Node

Get peer

Retrieves data about the given peer

get/eth/v1/node/peers/{peer_id}

Request

  • Base URL
    eth2-beacon-mainnet.nodereal.io/v1/api_key (relative, and the document’s source URL is not known)
  • URL
    eth2-beacon-mainnet.nodereal.io/v1/api_key/eth/v1/node/peers/{peer_id}
  • Auth
    none declared

Path parameters

peer_idstring required

Cryptographic hash of a peer’s public key. Read more

Example:QmYyQSo1c1Ym7orWxLYvCrM2EmxFTANf8wXmmE7DWjhx5N

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"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.