⚡ We welcome businesses to test our enterprise-grade service

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST perm_addNodesToAllowlist

dropdown

方法 RPC perm_addNodesToAllowlist 例如 Ethereum Classic (ETC)

POST perm_addNodesToAllowlist

Method not allowed

将节点添加到节点允许列表中。

Parameters

list of strings - 没有任何

eNODE URL列表。

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": "perm_addNodesToAllowlist",
"params": [null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}