getdifficulty
Bitcoin node API
getdifficulty | Bitcoin
The getdifficulty method retrieves the current network difficulty, which is a measure of how difficult it is to find a new block on the blockchain.
POST
getdifficulty
TheDocumentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
getdifficulty method retrieves the current network difficulty, which is a measure of how difficult it is to find a new block on the blockchain.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
- None
Response
result— a number representing the current network difficulty.error— an object containing an error message if an error occurred, otherwisenull.id— an integer representing the ID of the request, used to match requests with responses.
Use case
Thegetdifficulty method is commonly used to monitor the network’s mining difficulty level. Miners and network participants can use this information to gauge the competitiveness of mining on the network.Last modified on May 18, 2026