⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
eth

Ethereum (ETH)

Method: POST admin_nodeInfo

dropdown
POST

admin_nodeInfo

方法不允许

返回有关节点的网络信息。该信息包括有关节点的一般信息和来自每个正在运行的以太坊子协议(例如,eth)的特定信息。

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


Response

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