Hello, Dear Forum Members. I have this line:
var web3 = await Moralis.enableWeb3();
var mycontract = new web3.eth.Contract(abi, contract);
mycontract.methods.mintBatch(myWallet, fileNumber, fileAmount, '0x00').send({from: accounts[0], value: 15000000});
As you have already realized I am trying to call the mintBatch function. I am interested in what send is and where can I learn about it?
Also, how is the price assigned in this case β15000000β what is it anyway. In short I need to understand what send is and how the value is calculated and what it is in general and I would also like to know what βvalueβ is represented by - is it eth, gwei, or something else.