this is my code , m still having issue.
await detail.collectionContract.mintNFTs(totalMint, {value:ethers.utils.parseEther(detail.mintPrice).toString()});


error:
Unhandled Rejection (Error): value must be a string (argument="value", value={"type":"BigNumber","hex":"0xb1a2bc2ec50000"}, code=INVALID_ARGUMENT, version=units/5.6.1)

Aug 26, 2022, 7:59 AM

© 2024 Draquery.com All rights reserved.