Hey Moralis Team,
Yesterday I created a contract following your course:
I wasnāt able to retrieve the info for the two NFTs I created with the contract, thought it might need time to propagate but they still donāt show up when I try to get them using the Web3API. Hereās the code:
const options = { chain: 'rinkeby', address: '0x1a1033526811fc1584b591e76c410bb191b22e08' };
const NFTs = await Moralis.Web3API.token.getAllTokenIds(options);
console.log(`Length: ${NFTs.result.length}`)
I should be getting a console output of āLength: 2ā, but it still returns 0.
Here is a link to an NFT from the contract: https://testnets.opensea.io/assets/0x1a1033526811fc1584b591e76c410bb191b22e08/0
As you can see at āopenseaā, there are 2 NFTs for the given contract.
I also tried getting the owners of the NFTs from the contract using the Web3 API, but still no result.
Any help is appreciated, thank you in advance