everscale-inpage-provider icon indicating copy to clipboard operation
everscale-inpage-provider copied to clipboard

Cannot fetch NFT's by timestamp

Open shravanandoria opened this issue 2 years ago • 3 comments

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

shravanandoria avatar Sep 28 '23 12:09 shravanandoria

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.

Rexagon avatar Sep 28 '23 13:09 Rexagon

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

shravanandoria avatar Sep 29 '23 11:09 shravanandoria

Sure - https://docs.evercloud.dev/reference/graphql-api

Rexagon avatar Sep 29 '23 12:09 Rexagon