Skip to main content

getmininginfo RPC Method

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

Updated on
May 14, 2025

getmininginfo RPC Method

Parameters

This method does not accept any parameters

Returns

blocks
The current block height
currentblockweight
The weight of the current block (if known)
currentblocktx
The number of transactions in the current block
bits
A compact representation of the current target threshold
difficulty
Current difficulty target
target
The current proof-of-work target in hexadecimal format
networkhashps
Estimated network hashes per second based on the last blocks
pooledtx
The number of transactions in the memory pool
chain
The name of the current network (e.g. main, test)
next
object
Information about the next block
height
The height of the next block
bits
The bits value for the next block
difficulty
The expected difficulty for the next block
target
The proof-of-work target for the next block in hexadecimal format
warnings
An array of strings of network or blockchain warnings
Request
Response
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free