btc

Bitcoin (BTC)

Method: POST getmininginfo

dropdown

POST getmininginfo

Returns a json object containing mining-related information.

Parameters

-

Request

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


Response

{
    "error": null,
    "id": "getblock.io",
    "result": {
        "blocks": 678324,
        "chain": "main",
        "currentblocktx": 2310,
        "currentblockweight": 3995990,
        "difficulty": 23137439666472.05,
        "networkhashps": 1.804486209588495e+20,
        "pooledtx": 29451,
        "warnings": ""
    }
}
GetBlock.io

Get access to 40+ blockchain nodes right now! GetBlock provides a fast and reliable connection for the most popular cryptocurrencies` nodes.

Subscribe

Email is invalid

Products
For developers
Contact

Technical support:

support@getblock.io

General inquiries:

marketing@getblock.io

To contact Us:

Schedule a Call

2019 - 2021 GetBlock