broxus / everscale-inpage-provider

Web3-like interface to the Everscale blockchain.
https://broxus.github.io/everscale-inpage-provider/
GNU General Public License v3.0
30 stars 17 forks source link

Cannot fetch NFT's by timestamp #14

Open shravanandoria opened 1 year ago

shravanandoria commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

Rexagon commented 1 year ago

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