Hey there
Im trying to get NFTs owned by a given address with a specific contract in BSC testnet. The result Im getting is All NFT by a given address and no filter by token_addresses
const Moralis = require("moralis").default;
const nftList = await Moralis.EvmApi.nft.getWalletNFTs({
address: userAddress,
chain: chainId,
token_addresses: contractAddress,
});
contractAddress is a string in the following format “0x115A29…”. I tried to pass to token_addresses an array and no luck either.
I use info from here https://docs.moralis.io/reference/getwalletnfts
What should I do to make it work?