This item on OS shows it’s contract address is this which has multiple ERC721 tokens: https://polygonscan.com/address/0x67f4732266c7300cca593c814d46bee72e40659f#tokentxnsErc721
If I run these functions below…
This one includes NFTs with name: “ZED Horse”
// Get NFTs of owner from contract
const Web3Api = useMoralisWeb3Api();
const options = {
chain: 'polygon',
address: '0x5Ffccbf0eAf209C228092E10302B6dA953d7beA8',
token_address: '0x67F4732266C7300cca593C814d46bee72e40659F',
};
const fetchAllNFTs = async (options) => {
const polygonNFTs = await Web3Api.account.getNFTsForContract(options);
const polyResults = polygonNFTs.result;
console.log('ZED NFTs', polyResults);
};
Below is the same contract but all tokens includes NFTs with name: “ZED Horse”, name: “ZED Racehorse Nameplate”, and name: “ZED Racehorse Skins”
It looks like there are Horses, Nameplates, and Skins all on the same contract.
// Get NFTs from contract
const Web3Api = useMoralisWeb3Api();
const options = {
chain: 'polygon',
address: '0x67F4732266C7300cca593C814d46bee72e40659F',
};
const fetchAllNFTs = async (options) => {
const polygonNFTs = await Web3Api.account.getNFTs(options);
const polyResults = polygonNFTs.result;
console.log('ZED NFTs', polyResults);
};