[SOLVED] "No metadata found" when using ERC1155 NFTs with EIP2535 Diamond

I have implemented NFTs with the diamond standard. See the contracts here-


I am unable to get NFT metadata using Moralis.

const options = {
				address: 0x434c83d0d44eF9B6a2295C0a43DA2b065265075a,
				token_id: 1,
				chain: "mumbai",
			};
const token = await Moralis.Web3API.token.getTokenIdMetadata(options);

This does not work. Can someone tell me why?

This could mean that the contract is not yet indexed. Can you get the list of the token ids for that contract with web3api?

No, I can’t. Don’t know where’s the problem here

https://mumbai.polygonscan.com/token/0x434c83d0d44eF9B6a2295C0a43DA2b065265075a
it doesn’t look like the contract is recognised as an ERC1155 on polygon scan either, it says erc20 there

Probably be cause it is a proxy.
This one worked before. It also said ERC20 on polygon scan

I see erc1155 here:
https://mumbai.polygonscan.com/token/0x71A140Fb984a37300c7B589BDE0fa55097a6e872

I got it working now- https://mumbai.polygonscan.com//address/0xe9B597Ca228bA291eEd1c7861A6Ad24bf6207f88
Thanks for the help.

For people who may stumble here in the future. Here’s the problem and the solution-


1 Like