Hello, i have a problem when I call getAllTokenIds & getTokenIdMetadata.
when I call getAllTokenIds ok the id is correct but all the metadata and token uri are the same, so I would like to check getTokenIdMetadata and the same. my contract address is “0xe11b8e0243e3eed9df387ca279caad4d2b35951a”
my js =>
const options = { address: CONTRACT_ADDRESS, chain: "rinkeby"};
const NFTs = await Moralis.Web3API.token.getAllTokenIds(options);
console.log(NFTs);
const addr = NFTs.result[2].token_address;
console.log(addr);
const options2 = { address: addr, chain: "rinkeby" };
const metaData = await Moralis.Web3API.token.getNFTMetadata(options2);
console.log(metaData);
the response =>
{total: 3, page: 0, page_size: 500, result: Array(3)}page: 0page_size: 500result: Array(3)0: amount: "2"contract_type: "ERC1155"metadata: "{“name”:“jeremie et alice”,“description”:“nft de jeremie et alice, le plus beau couple de l’univers <3”,“image”:"https://ipfs.moralis.io:2053/ipfs/QmY9GhWzdsa9jexD7LyNbYcDiamFSK85Z6HPs1i9UufRQq"}"name: nullsymbol: nullsynced_at: "2021-10-09T11:01:51.877Z"token_address: "0xe11b8e0243e3eed9df387ca279caad4d2b35951a"token_id: "3"token_uri: “https://ipfs.moralis.io:2053/ipfs/QmfTYxTSfuFNFynJQPs88ccPTYTc9S9vr7rnwMoKthmruC”[[Prototype]]: Object1: amount: "2"contract_type: "ERC1155"metadata: "{“name”:“jeremie et alice”,“description”:“nft de jeremie et alice, le plus beau couple de l’univers <3”,“image”:"https://ipfs.moralis.io:2053/ipfs/QmY9GhWzdsa9jexD7LyNbYcDiamFSK85Z6HPs1i9UufRQq"}"name: nullsymbol: nullsynced_at: "2021-10-09T11:01:51.868Z"token_address: "0xe11b8e0243e3eed9df387ca279caad4d2b35951a"token_id: "2"token_uri: “https://ipfs.moralis.io:2053/ipfs/QmfTYxTSfuFNFynJQPs88ccPTYTc9S9vr7rnwMoKthmruC”[[Prototype]]: Object2: amount: "2"contract_type: "ERC1155"metadata: "{“name”:“jeremie et alice”,“description”:“nft de jeremie et alice, le plus beau couple de l’univers <3”,“image”:"https://ipfs.moralis.io:2053/ipfs/QmY9GhWzdsa9jexD7LyNbYcDiamFSK85Z6HPs1i9UufRQq"}"name: nullsymbol: nullsynced_at: "2021-10-09T11:01:51.883Z"token_address: "0xe11b8e0243e3eed9df387ca279caad4d2b35951a"token_id: "1"token_uri: “https://ipfs.moralis.io:2053/ipfs/QmfTYxTSfuFNFynJQPs88ccPTYTc9S9vr7rnwMoKthmruC”[[Prototype]]: Objectlength: 3[[Prototype]]: Array(0)total: 3[[Prototype]]: Object
lovecollections.js:81 0xe11b8e0243e3eed9df387ca279caad4d2b35951a
lovecollections.js:84 {token_address: ‘0xe11b8e0243e3eed9df387ca279caad4d2b35951a’, name: null, symbol: null, abi: null, contract_type: ‘ERC1155’, …}abi: nullcontract_type: "ERC1155"name: nullsupports_token_uri: nullsymbol: nullsynced_at: nulltoken_address: “0xe11b8e0243e3eed9df387ca279caad4d2b35951a”[[Prototype]]: Object
thank for ur help