Skip to main content

getmininginfo RPC Method

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

Updated on
Apr 29, 2026

Parameters

This method does not accept any parameters

Returns

blocks
integer

The current block height

currentblocksize
integer

The size of the last assembled block

currentblocktx
integer

The number of transactions in the last assembled block

networksolps
integer

The estimated network solutions per second

networkhashps
integer

The estimated network hash rate per second

chain
string

The current network name (main, test, regtest)

testnet
boolean

Whether the node is on the test network

error
string

(Optional) The error message, if any

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blocks": 3323688,
6
"currentblocksize": 1625,
7
"currentblocktx": 0,
8
"networksolps": 14341671225,
9
"networkhashps": 14341671225,
10
"chain": "main",
11
"testnet": false
12
}
13
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blocks": 3323688,
6
"currentblocksize": 1625,
7
"currentblocktx": 0,
8
"networksolps": 14341671225,
9
"networkhashps": 14341671225,
10
"chain": "main",
11
"testnet": false
12
}
13
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free