Get node network identity
Retrieves data about the node's network presence
Parameters
No parameters
Result
Return data about the node's network presence
Example
Request
curl <your-endpoint>/eth/v1/node/identity
Return
On success
{
"data": {
"peer_id": "16Uiu2HAmNivMq7Yh2zEM7HQVH4NYzWfkXo3nHfHs8YJ3yKyoUMRi",
"enr": "enr:-MK4QIkBM6WMg5qr0Oih1412NKi9Ng24D_wrTxusORjZ3TrqD1TzrS1e2tBwTxdRntTsSauAmYM8UdIy3IP-19LZJlWGAYNgjM-5h2F0dG5ldHOIAAAAAAAAAACEZXRoMpBKJsWLAgAAAP__________gmlkgnY0gmlwhIHVYu6Jc2VjcDI1NmsxoQOVlq4jBQs41p4H2wQfjm9vM43609K4ue7_LQ5-JFYvAYhzeW5jbmV0cwCDdGNwgjLIg3VkcIIu4A==",
"p2p_addresses": [
"/ip4/31.1.1.79/tcp/13000/p2p/16Uiu2HAmNivMq7Yh2zEM7HQVH4NYzWfkXo3nHfHs8YJ3yKyoUMRi",
"/ip4/129.213.98.238/tcp/13000/p2p/16Uiu2HAmNivMq7Yh2zEM7HQVH4NYzWfkXo3nHfHs8YJ3yKyoUMRi"
],
"discovery_addresses": [
"/ip4/129.213.98.238/udp/12000/p2p/16Uiu2HAmNivMq7Yh2zEM7HQVH4NYzWfkXo3nHfHs8YJ3yKyoUMRi"
],
"metadata": {
"seq_number": "1",
"attnets": "0x0000000000000000"
}
}
}