autonomys / substation

Polkadot Telemetry service
GNU General Public License v3.0
3 stars 2 forks source link

Show unique reward address count #22

Closed achiurizo closed 2 years ago

achiurizo commented 2 years ago

We should add to the header on telemetry the total unique reward addresses

isSerge commented 2 years ago

Currently, there is no easy way to get unique reward addresses since pallet-balances does not allow querying all non-zero balances, and the only way to get unique addresses using node RPC is to query reward extrinsics, which is not very efficient. We could use Subscan API for this (if it is ready), but then we have duplication between telemetry and block explorer.