Skip to content

await transactionResponse.wait(1) #3369

Answered by RoboCrypter
Ahmed14z asked this question in Q&A
Discussion options

You must be logged in to vote

@Ahmed14z : In this line await transactionResponse.wait(1) we are waiting for one block confirmation on our fund transaction!

It's totally upto you, If you wanna wait or not!

But its a good practice to wait for couple of blocks on transactions, Because number of confirmations are required to finalize a transaction with high probability, and to ensure that there is probabilistically a very low chance for a transaction to be reverted!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ahmed14z
Comment options

Answer selected by Ahmed14z
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants