Skip to main content

getmininginfo

Overview

The 'getmininginfo' method returns a json object containing mining-related information.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 4303fb63-adec-42dc-b571-74bc2f2a5167' \
--body-data '{"jsonrpc":"2.0","id":1,"method":"bumpfee","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Request Parameters

Response

{
"result": [
"blocks",
"currentblockweight",
"currentblocktx",
"difficulty",
"networkhashps",
"pooledtx",
"chain",
"warnings",
...
],
"error": null,
"id": "unique_id",
"jsonrpc": "2.0"
}