Good day to you, esteemed forum members.
I have the following code:
fileNumber = [];
fileAmount = [];
Next, I fill in two arrays for mintBatch
mycontract.methods.mintBatch(myWallet, fileNumber, fileAmount, '0x00').send({from: accounts[0]});
After I pass my two arrays with the token number (token ID) and the quantity. I execute the code and sign it. This code is reflected on the etherscan and also the function name is displayed correctly. However, a detailed review reveals that the “Transaction Action:” does not have the specified ID tokens, that is, in fact, the action does not incur anything other than resource consumption.
Not true:
Correct:
So the question is how to correctly pass an array with token IDs and their number to the method?