Hi,
I am getting below error when minting a kind of CIS2 smart contract. I mostly copied the CIS2-nft example including the custom errors and mint code:
Invocation resulted in failure:
- Energy used: 1189 NRG
- Reason: ‘mint’ in ‘NFT-example’ at {“index”:820,“subindex”:0} failed with code -1
- Return value (raw):
.
From above, I suspect the error code points to ParseError (the first error in the enum) but I could not find what is wrong with my MintParams json below. Am I missing something in the json?
{
“owner”: { “Account”: [“4s3QS7Vdp7b6yrLngKQwCQcexKVQLKifcGKgmVXoH6wffZMQhM”] },
“tokens”: [“01”, “02”]
}