How is the ERC1155 metadata bound to the tokenId?

I want to know how the 1155 protocol metadata is bound to the tokenid, because in the figure I only see this, then how do I know that it is bound to my nft tokenid?

1 Like

Hi @wangjiawei,

I created a simple example: Create an ERC1155

The URI should include {id} and not {1}, sorry for the confusion, this was my error. I will fix this in the documentation. (see: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/2401)

It’s okay and finally solved the problem, thank you for your hard work

1 Like