⚡ We welcome businesses to test our enterprise-grade service

Method: POST net_peerList

dropdown

方法 RPC net_peerList 例如 Rsk

POST net_peerList

Method not allowed

返回客户已知的同行列表。

Parameters

-

Request

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


Response

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