1

I use opensea.io for create nft tokens. I want create 100 tokens and then create redeem mechanism on my site (allow download music). I created contract using: "?enable_supply=true" https://rinkeby.etherscan.io/address/0xee45b41d1ac24e9a620169994deb22739f64f231

But I can't get Token Id:

contract.methods.tokenByIndex(walletAddress, 0).call()

seems theres no method tokenByIndex. I need know TokenId for each item, it for my redeem mechanism. Could I do it with this contract or I need use custom contract?

1
  • From the source code it seems they implement EIP 1155. That EIP recommends using events to track token IDs. – Ismael Apr 28 at 4:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.