Good day!
Iโm just wondering if we can fetch the metadata of the given an array of token id for an ERC1155 contract.
Because right now, I fetch all the nft and filter them in the backend.
Thanks!
Good day!
Iโm just wondering if we can fetch the metadata of the given an array of token id for an ERC1155 contract.
Because right now, I fetch all the nft and filter them in the backend.
Thanks!
Hello, if you try to list all the token ids for that contract you should also get the metadata in the response
Yes but I want specific token ids.
For example in my nft contract I have
tokenId: 1
amount: 1000
tokenId: 2
amount:1000
tokenId: 3
amount:1000
I wanna fetch only 1 and 2 using an array of token id [1,2]
you can use this api function then:
It says โNote that results will include all indexed NFTsโ I only need to fetch specific list of token ids.
try to use it, you will have to provide the token address and token id