📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

bch
Bitcoin Cash (BCH)

Method: POST getnodeaddresses

dropdown

方法 RPC getnodeaddresses 例如 Bitcoin Cash (BCH)

POST getnodeaddresses

方法不允许

返回可能用于在网络中查找新节点的已知地址

Parameters

count - 数字,可选,默认=1

返回多少地址。限于 2500 或所有已知地址的 23% 中的较小者。

Request

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


Response

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