Hey guys,
I couldnt find a away to send bytes to the mint function. Here is my function signature, "function mint(uint256 id, uint256 quantity, bytes data) payable",
Any idea how to send the data part?
Hey guys,
I couldnt find a away to send bytes to the mint function. Here is my function signature, "function mint(uint256 id, uint256 quantity, bytes data) payable",
Any idea how to send the data part?
What sort of value are you wanting to send for data
? If empty, try an empty string ""
.
empty data should work, you may find same question asked on this forum before
Thanks guys… I was sending empty string. But the problem was with the ABI, which made the call to fail.
Thanks again!