I am trying to mint an NFT using ether.js, ipfs but got following error while minting.
Code calling mint function is as following
Can someone help me understand root cause of this?
I think it should be nftObject.mint(uri)
and nftObject.tokenCount()
:)