I am confused in how to calculate the voting power for any validator address. I am thinking and it also seems like we have to add the active and pending_inactive value. For ex: for address: 0x4e28ca55c3ccde886560d667d60cd2d1193e742ff5aede3ba93b3860a97e207f
If i am adding the active and pending_inactive, it is giving me the correct value mentioned on the explorer. It would be great if anyone can verify this.
I have added active and pending_inactive and getting the voting power. I just wanted to verify that if it's a correct way or not.