I have a dapp that transfers tokens fine to another party from contract . Can I verify from the result of the transfer ?
let result = await (Moralis as any).transfer(options);
console.log(result);
I have a dapp that transfers tokens fine to another party from contract . Can I verify from the result of the transfer ?
let result = await (Moralis as any).transfer(options);
console.log(result);
if you get the transaction hash, you could check if that transaction was confirmed after some time, but sometimes it could take considerable time until a transaction gets confirmed.
you could also try to use events as .on('confirmation'
but you donβt have the guarantee that youβll get that event triggered every time.
Thanks guys very much