Parameters
Returns
The mining information object
The current block height
The weight of the current block (if known)
The number of transactions in the current block
A compact representation of the current target threshold
Current difficulty target
The current proof-of-work target in hexadecimal format
Estimated network hashes per second based on the last blocks
The number of transactions in the memory pool
The name of the current network (e.g. main, test)
Information about the next block
The height of the next block
The bits value for the next block
The expected difficulty for the next block
The proof-of-work target for the next block in hexadecimal format
An array of strings of network or blockchain warnings
The size of the current block
The maximum block size limit for mining
Minimum fee rate for transactions in the block template, in BTC per kilobyte
(Optional) JSON-RPC error when the request failed; omitted or null on success
Error code
Error message
1{2"jsonrpc": "2.0",3"result": {4"blocks": 933586,5"currentblockweight": 1228822,6"currentblocktx": 1051,7"bits": "1701fca1",8"difficulty": 141668107417558.2,9"target": "00000000000000000001fca10000000000000000000000000000000000000000",10"networkhashps": 934512955213370500000,11"pooledtx": 1094,12"chain": "main",13"next": {14"height": 933587,15"bits": "1701fca1",16"difficulty": 141668107417558.2,17"target": "00000000000000000001fca10000000000000000000000000000000000000000"18},19"warnings": ""20},21"id": 122}
1{2"jsonrpc": "2.0",3"result": {4"blocks": 933586,5"currentblockweight": 1228822,6"currentblocktx": 1051,7"bits": "1701fca1",8"difficulty": 141668107417558.2,9"target": "00000000000000000001fca10000000000000000000000000000000000000000",10"networkhashps": 934512955213370500000,11"pooledtx": 1094,12"chain": "main",13"next": {14"height": 933587,15"bits": "1701fca1",16"difficulty": 141668107417558.2,17"target": "00000000000000000001fca10000000000000000000000000000000000000000"18},19"warnings": ""20},21"id": 122}