How to calculate the reward for the next block?
First, There is no direct RPC to do that.
There is an RPC method
get_block_economic_state for the reward of blocks.
But this RPC will delay for 11 blocks.
Second, it’s not easy to describe. The reward of the next block depends on the past data.
If you want to have a try, you can read the follow references: