I’m trying to retrieve all the NFTs in a smart contract by using the Web3Api.account.getNFTsForContract method in React. According to documentation only the token_address(NFT collection address) parameter is required. I’m passing the token_address parameter but there is an error requiring me to pass the address (wallet address) parameter as well

         token_address: "0x8C714199d2eA08CC1f1F39A60f5cD02aD260A1e3",

I want to retrieve all the NFTs of the collection not the NFTs owned by a wallet. I understand this is the right function but it’s not working for some reason. Pls reply ASAP. @Yomoo @cryptokid

this doesn’t seem the right function if it starts with .account.

maybe you want this:

1 Like

Man you’re a savior. ILY