⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST getpeerinfo

dropdown

方法 RPC getpeerinfo 例如 Bitcoin Gold (BTG)

POST getpeerinfo

Method not allowed

返回有关每个连接的网络节点作为对象的JSON数组的数据。

Parameters

-

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


Response

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