79478354

Date: 2025-03-01 22:31:42
Score: 1
Natty:
Report link

So finally i have resolved the issue. so instead of using

import { useSendTransaction } from "thirdweb/react";

use the following

import { sendAndConfirmTransaction } from "thirdweb";

sendAndConfirmTransaction waits for the transaction to approve and then moves forward and that allows the proper waiting and then the transfer function goes well.

use it like as follows

await sendAndConfirmTransaction({
    transaction: tx,
    account,
});
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: a4illusionist