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
Is your feature request related to a problem? Please describe.
In the old DEX the tokens were default sorted by 24h volume descending. Currently graphql doesn't return tokens in that order.
Describe the solution you'd like
Return tokens by default ordered by 24h descending.
The text was updated successfully, but these errors were encountered:
@lion-200 Something tells me the old DEX was sorting the tokens on the client-side. Nothing I could see in the code suggests it was done during the call to the API. I will, however, make the GraphQL API return the results ordered by 24h.
The only solution right now is to return 1000 tokens which are sorted by volume. it's not an ideal solution whatsoever because to properly sort it, you need to request the 1000 tokens and 1000 metrics. We need a server-side index.
Is your feature request related to a problem? Please describe.
In the old DEX the tokens were default sorted by 24h volume descending. Currently graphql doesn't return tokens in that order.
Describe the solution you'd like
Return tokens by default ordered by 24h descending.
The text was updated successfully, but these errors were encountered: