You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ankr_getTokenHolders is not returning holders ordered by balance.
Is this by design? What is the reasoning behind it?
I would really like to have an endpoint that returns token holders sorted by balance.
Basically I want to get the top xx holders for a token. But with the current behaviour I would have to query all token holders first (which could be more than one request as the page size is 10k max). Then sort them myself by balance.
Looks like this can be handled more easily server side
The
ankr_getTokenHolders
is not returning holders ordered by balance.Is this by design? What is the reasoning behind it?
I would really like to have an endpoint that returns token holders sorted by balance.
Basically I want to get the top xx holders for a token. But with the current behaviour I would have to query all token holders first (which could be more than one request as the page size is 10k max). Then sort them myself by balance.
Looks like this can be handled more easily server side
Here is a getholders call example:
Returns an array with a seamingly random sorting. Maybe it's listing oldest holders first, not sure.
The text was updated successfully, but these errors were encountered: