Skip to main content

getmininginfo RPC Method

Returns mining-related information, including difficulty, hash rate, block information, and transaction pool status.

Updated on
Feb 04, 2026

Parameters

This method does not accept any parameters

Returns

result
object

The mining information object

blocks
integer

The current block height

currentblocksize
integer

The size of the current block

currentblocktx
integer

The number of transactions in the current block

difficulty
number

Current difficulty target

miningblocksizelimit
integer

The maximum block size limit for mining

networkhashps
number

Estimated network hashes per second

pooledtx
integer

The number of transactions in the memory pool

chain
string

The name of the current network

warnings
string

Network or blockchain warnings

error
object | null

JSON-RPC error object when the request failed, or null on success

id
integer

The JSON-RPC request identifier

Request
Response
1
{
2
"result": {
3
"blocks": 936617,
4
"currentblocksize": 0,
5
"currentblocktx": 0,
6
"difficulty": 929929206905.7657,
7
"miningblocksizelimit": 16000000,
8
"networkhashps": 6665299951019882000,
9
"pooledtx": 2,
10
"chain": "main",
11
"warnings": ""
12
},
13
"error": null,
14
"id": 1
15
}
1
{
2
"result": {
3
"blocks": 936617,
4
"currentblocksize": 0,
5
"currentblocktx": 0,
6
"difficulty": 929929206905.7657,
7
"miningblocksizelimit": 16000000,
8
"networkhashps": 6665299951019882000,
9
"pooledtx": 2,
10
"chain": "main",
11
"warnings": ""
12
},
13
"error": null,
14
"id": 1
15
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free