etc

ETC

POST

GET

chevron-right

Last updated on January 1, 1970

1 min read

Method net_enode undefined ()
connect with JSON-RPC protocol

net_enode

info-circle-fill

Returns the enode URL.

Parameters

-

Request

curl --location --request POST 'https://etc.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://3d70e868399d6d9273bcc6e7fd0fba08e9c9bd3d133cf59d2820dcd891070f6b5bb6dbcf36fe4eca7c7b2ea39802134ff7859b4402ff52e5a8eb2ad879086ec8@127.0.0.1:30303"
}
banner icon

Start Building with GetBlock RPCs for Free