btg

Bitcoin Gold (BTG)

Method: POST getrpcinfo

dropdown
POST

getrpcinfo

Returns details of the RPC server.

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": [
            {
                "method": "getrpcinfo",
                "duration": 35
            }
        ],
        "logpath": "/coin/data/debug.log"
    }
}