eth

Ethereum (ETH)

Method: POST net_enode

dropdown
POST

net_enode

Returns the enode URL.

Parameters

-

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "net_enode",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "enode://89eb3b68dad7df94afe3c6fe525c67db6acb6e55b33af374080fecc43f8dfd40903b0514c45c55a8fb74895fe7a580559320cca21635007012013761463275a6@0.0.0.0:30303"
}