-
Notifications
You must be signed in to change notification settings - Fork 79
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
Offset not working #15
Comments
Same issue for me, is there a fix for this? |
I used cursor instead of offset.
|
Even I tried this but what if the collection has more than 10000 nfts? |
I set totalNum to calculate rarity scores. Cursor usage is giving us the full metadata of any collection. I thing setting the variable like this after loop is completed may be way better than my codes. let totalNum = allNFTs.length; And like that you don't have to know how many NFT's are available in collection. |
#16 Created a pull request regarding the updated cursor of Moralis. |
This works as a fix for cursor ` let allNFTs = []; const timer = (ms) => new Promise((res) => setTimeout(res, ms)); let cursor = null;
} while (cursor != "" && cursor != null); let metadata = allNFTs.map((e) => { |
The text was updated successfully, but these errors were encountered: