⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
Groestlcoin (GRS)

Method: POST logging


# logging example for Groestlcoin (GRS)

POST logging

Method not allowed

Gets and sets the logging configuration.

When called without an argument, returns the list of categories with status that are currently being debug logged or not.

When called with arguments, adds or removes categories from debug logging and return the lists above.

The arguments are evaluated in order “include”, “exclude”.

If an item is both included and excluded, it will thus end up being excluded.

The valid logging categories are: net, tor, mempool, http, bench, zmq, walletdb, rpc, estimatefee, addrman, selectcoins, reindex, cmpctblock, rand, prune, proxy, mempoolrej, libevent, coindb, qt, leveldb, validation

In addition, the following are available as category names with special meanings:

- "all", "1" : represent all logging categories.

- "none", "0" : even if other logging categories are specified, ignore all of them.


include - json array, optional

A json array of categories to add debug logging

exclude - json array, optional

A json array of categories to remove debug logging


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


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