⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST getnodeaddresses

dropdown

方法 RPC getnodeaddresses 例如 Bitcoin Gold (BTG)

POST getnodeaddresses

Method not allowed

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

Parameters

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

有多少个地址要返回。 仅限于所有已知地址的2500或23%。

Request

curl --location --request POST 'https://btg.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"
}