Parameters
Returns
- resultobject
The mining information object
- blocksinteger
The current block height
- currentblockweightinteger
The weight of the current block (if known)
- currentblocktxinteger
The number of transactions in the current block
- bitsstring
A compact representation of the current target threshold
- difficultynumber
Current difficulty target
- targetstring
The current proof-of-work target in hexadecimal format
- networkhashpsnumber
Estimated network hashes per second based on the last blocks
- pooledtxinteger
The number of transactions in the memory pool
- chainstring
The name of the current network (e.g. main, test)
- nextobject
Information about the next block
- heightinteger
The height of the next block
- bitsstring
The bits value for the next block
- difficultynumber
The expected difficulty for the next block
- targetstring
The proof-of-work target for the next block in hexadecimal format
- warningsstring
An array of strings of network or blockchain warnings
- currentblocksizeinteger
The size of the current block
- miningblocksizelimitinteger
The maximum block size limit for mining
- blockmintxfeenumber
Minimum fee rate for transactions in the block template, in BTC per kilobyte
- errorobject | null
(Optional) JSON-RPC error when the request failed; omitted or null on success
- codeinteger
Error code
- messagestring
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}