massa
massa copied to clipboard
Implement `get_largest_wallets` method in JsonRPC API(V2)
This method will return a top (by default 50 ?) Massa accounts. May be we could fetch available addresses in the ledger and make some pagination.
related to #3461
Hi @AurelienFT
Correcte me if I'm wrong:
To retrieve this information, we should both have candidate and final balances. For the final, we should have a sorted ledger by balance which is not the case, It's sorted by address and It's not interesting to iterate over the ledger to get this information.
IMHO, this information shouldn't be implemented in the node API