I am using the method here (QueryDelegationRewardsRequest) in java to try to get a delegator's rewards with a validator, and I get 43,959,458,898,830,411,000,000,000 uatom
, whereas in the blockchain scanner it shows 50531742 uatom
. Is this not the correct method to get an address's rewards? If so, what is the right one and what does this massive number even mean?
Asked
Active
Viewed 116 times
0

vietnamese_chowder
- 65
- 5
1 Answers
1
So apparently the result you are given is in a decimal number with a 18 scale, even though it doesn't show the dot anywhere, so the number above is equal to 43959458 uatom

vietnamese_chowder
- 65
- 5