/

Huobi ECO Chain (HECO)

heco

Huobi ECO Chain (HECO)

Method: POST net_version

dropdown
POST

net_version

Returns the current network id.

Parameters

-

Request

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


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "128"
}