rsk

Rsk (RSK)

Method: POST net_peerList

dropdown

POST net_peerList

Method not allowed

Returns list of peers known to the client.

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"
}