Mining RPCs

getmininginfo

Returns a json object containing mining-related information.

Method: POST

https://divi.nownodes.io

Example body (raw)

{
    "jsonrpc": "1.0",
    "id": "curltest",
    "method": "getmininginfo",
    "params": []
}

Example response: 200

{
    "result": {
        "blocks": 2928863,
        "difficulty": 53674.19530606,
        "errors": "",
        "pooledtx": 0,
        "testnet": false,
        "chain": "main"
    },
    "error": null,
    "id": "curltest"
}

Last updated