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

Cannot fetch NFT's by timestamp #14

Open
shravanandoria opened this issue Sep 28, 2023 · 3 comments
Open

Cannot fetch NFT's by timestamp #14

shravanandoria opened this issue Sep 28, 2023 · 3 comments

Comments

@shravanandoria
Copy link

I'm building an NFT Marketplace, I want to show users latest minted NFTs on top, just like Venom Explorer. Currently, I'm pagination through NFT but all NFTs are randomly fetched. @Rexagon @30mb1 @Odrin
image

@Rexagon
Copy link
Member

Rexagon commented Sep 28, 2023

getAccountsByCodeHash method returns a sorted list of addresses (and the last one is used as a continuation for the subsequent request).

There are no standard code hash indexes by time, so you should either use a raw GraphQL queries for that or build your custom indexer on a back-end.

@shravanandoria
Copy link
Author

Are there any docs available or any reference where I get some help to make such query? @Rexagon @

@Rexagon
Copy link
Member

Rexagon commented Sep 29, 2023

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