I started this in the past, but decided to close it. Now, we need it again. Continue down the same path of my original PR.
Let's start with something a lot simpler for now: just one rpc endpoint, nominationPools_pending_rewards
that returns just the bending rewards. The rest of the data is pretty trivial to read from the chain state.