⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST getrpcinfo

dropdown

方法 RPC getrpcinfo 例如 Bitcoin Gold (BTG)

POST getrpcinfo

返回RPC服务器的详细信息。

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


Response

{
    "error": null,
    "id": "getblock.io",
    "result": {
        "active_commands": [
            {
                "duration": 35,
                "method": "getrpcinfo"
            }
        ],
        "logpath": "/coin/data/debug.log"
    }
}