A web based interface to the Bitcoin API JSON-RPC

Command: getmininginfo

The getmininginfo RPC returns various mining-related information.

Parameters: none
Result—various mining-related information

	"result": {
		"blocks": 553727,
		"currentblockweight": 1999948,
		"currentblocktx": 952,
		"difficulty": 5646403851534.721,
		"networkhashps": 3.919063242100172e+19,
		"pooledtx": 1029,
		"chain": "main",
		"warnings": ""
	"error": null,
	"id": null

Returns a json object containing mining-related information.
  "blocks": nnn,             (numeric) The current block
  "currentblockweight": nnn, (numeric) The last block weight
  "currentblocktx": nnn,     (numeric) The last block transaction
  "difficulty": xxx.xxxxx    (numeric) The current difficulty
  "networkhashps": nnn,      (numeric) The network hashes per second
  "pooledtx": n              (numeric) The size of the mempool
  "chain": "xxxx",           (string) current network name as defined in BIP70 (main, test, regtest)
  "warnings": "..."          (string) any network and blockchain warnings
  "errors": "..."            (string) DEPRECATED. Same as warnings. Only shown when bitcoind is started with -deprecatedrpc=getmininginfo

> bitcoin-cli getmininginfo 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;'