Back to All

Question about getNFTsForContract API

Hello! I am testing getNFTsForContract API(v3) at Polygon Mumbai network.

I deployed an ERC721 contract with ERC721 consecutive extension.

https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721Consecutive.sol

In this contract, I minted 1000 tokens during construction, using _mintConsecutive. After that I tried to get my token info with getNFTsForContract API, but it seems like it did not collect information regarding the tokens. Only after I manually emitted Transfer events using for loop, did the API work correctly.

Is this because Alchemy does not collect ConsecutiveTransfer event? and is there any other work around?

Thank you

ReadMe