Hey all I’m looking to collect all the metadata for each token in an NFT collection. The following code works wonders, but unfortunately it doesn’t seem to return the full 10,000 NFTs in the collection. Rather, it only returns 9,967, so there are 33 NFTs missing in the response. Could this be a slow indexing issue on Moralis’s end? If so, is there any way to expedite the indexing?
const options = { address: "0xb195991d16c1473bdF4b122A2eD0245113fCb2F9", chain: "matic", offset: 9500 };
const NFTs = await Moralis.Web3API.token.getAllTokenIds(options);
/**
{
page: 19
page_size: 500
result: (467) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, …]
total: 9967
}
*/
Thanks in advance <3,
shando