# How to get NEXT block's "difficulty" and "secondary scale"?

**URL:** <https://forum.grin.mw/t/how-to-get-next-blocks-difficulty-and-secondary-scale/6677>\
**Category:** Tech Support\
**Created:** [December 8, 2019, 12:30am UTC](https://forum.grin.mw/t/how-to-get-next-blocks-difficulty-and-secondary-scale/6677 "2019-12-08T00:30:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuka](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nuka](https://forum.grin.mw/u/nuka)\
**Post date:** [December 8, 2019, 12:30am UTC](https://forum.grin.mw/t/how-to-get-next-blocks-difficulty-and-secondary-scale/6677/1 "2019-12-08T00:30:54Z")

</div>

does anyone know of any command or API call or any other method that will give the **NEXT** block’s “difficulty” and “secondary scale” ?

---

<div class="post-metadata">

**Author:** ![Chronos](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/chronos/32/153_2.png) [@Chronos](https://forum.grin.mw/u/Chronos)\
**Post date:** [December 8, 2019, 12:33am UTC](https://forum.grin.mw/t/how-to-get-next-blocks-difficulty-and-secondary-scale/6677/2 "2019-12-08T00:33:12Z")

</div>

Would the difficulty of the next block depend on the time it takes to find the next block?

---

<div class="post-metadata">

**Author:** ![nuka](https://avatars.discourse-cdn.com/v4/letter/n/ec9cab/32.png) [@nuka](https://forum.grin.mw/u/nuka)\
**Post date:** [December 8, 2019, 12:36am UTC](https://forum.grin.mw/t/how-to-get-next-blocks-difficulty-and-secondary-scale/6677/3 "2019-12-08T00:36:27Z")

</div>

the next blocks difficulty and secondary scale is determined by how long it took to mine a set number of previous blocks. that means the new difficulty for the upcoming block is already set by the nodes. In bitcoin its easy to get this info by just entering “getblocktemplate” into bitcoin-cli.
