does anyone know of any command or API call or any other method that will give the NEXT block’s “difficulty” and “secondary scale” ?
Would the difficulty of the next block depend on the time it takes to find the next block?
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.