Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

query deeds order by value desc #2

Open
rboyd opened this issue Sep 24, 2021 · 1 comment
Open

query deeds order by value desc #2

rboyd opened this issue Sep 24, 2021 · 1 comment

Comments

@rboyd
Copy link

rboyd commented Sep 24, 2021

What would you think about adding order by value here https://github.com/ensdomains/reclaim/blob/master/packages/react-app/src/App.js#L41 ?

Most of the time I think people will want to reclaim the highest value deeds first and it's hard to find them with the 100 limit on domains.

Based on https://thegraph.com/docs/developer/graphql-api#example I guess the new line would be:

deeds(orderBy: value, orderDirection: desc) {

@Jeremiegmoore
Copy link

query manyTokens($lastID: String) {

tokens(first: 1000, where: { id_gt: $lastID }) {

id

owner

}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants