Moonbeam Staking Dashboard: https://network.dapplooker.com/moonbeam/collator
Moonbeam Staking Dashboard: https://network.dapplooker.com/moonriver/collator
Collator APY Logic:
Note
Find 1 or more nominators who is only nominating that collator.
If nominator N is only nominating collator C, we can use N's rewards to calculate C's APY.
It's the nominator's APY for each collator. How much APY nominators get for nominating each collator.
Logic
APY = (Rewards earned by nominator per day/Nominator bond)*100*365
For accurate calculation, rewards earned by nominator in last 7 days is taken.
Example
**Collator** = C
**Nominator** = N
Time Period = 7 days
Collator C Self Staked Amount = 1000 MOVR
Collator C Total Staked Amount = 20000 MOVR
Nominator N Staked amount = 1000 MOVR
Reward earned by only nominator N which staked collator C in 7 days = 5 MOVR
Returns percentage for 7 days = (Reward earned by nominator N in 7 days / (Nominator A stake amount)*100
Returns percentage for 1 day = Returns percentage for 7 days/7
Collator APY: (8*100)/(7*1000) = 0.07%
Collator APY = 0.07*365 = 26.07%
JSON API Endpoint: