let contract = await instance.mint(
accounts,
usersInput.url,
usersInput.metadata[0],
usersInput.metadata[1],
usersInput.metadata[2],
{ from: accounts, gas: 350000 }
);
return contract;
If the user has low gas price, then the transaction will error with a message "TxHASH has timed out after 280 seconds"
Using truffle with has the latest web3 I assume.
How would I generate the transaction hash, or return the transaction hash and also send the transaction, so I can store the txHash and then scan for that receipt info when it takes longer than 280 seconds to confirm?
How do I return a tx hash in the code above, without waiting for actually being picked up. I'm confused on the syntax for the input to my function