<p>You may broadcast transactions in <em>fire and forget</em> manner. If the fact whether it got into a block or not is not important to you, skipping  <code>awaitTxConfirmed</code> is not a bad idea.</p>

CC BY-SA 4.0
2021-09-09T10:46:29.157Z
2021-09-09T10:46:29.157Z
emesik
<p>If you don't care whether a transaction has not been added to the ledger, then you can skip <code>awaitTxConfirmed</code>. But in that case, do you need to use blockchain in the first place?</p>
<p>What are the timing issues? Why do you have timing issues? What are you trying to accomplish? Do you need confirmation that a transaction has been added to the ledger? What if it hasn't and you're assuming the transaction has been confirmed and you act upon a false assumption?</p>
<p>There's not enough information to give you an answer, but these questions might help you in coming up with your own answer.</p>

CC BY-SA 4.0
2021-09-06T05:27:30.147Z
2021-09-06T05:27:30.147Z
Matthias Sieber
<p>I am running into timing issues, and am considering leaving out <code>awaitTxConfirmed</code>.
Is that wise?</p>

<plutus>
Is awaitTxConfirmed mandatory?
# Is awaitTxConfirmed mandatory?

(Asked by: username_0 on 2021-09-06)

I am running into timing issues, and am considering leaving out `awaitTxConfirmed`.
Is that wise?

**Tags:** plutus

---

## 2 answers

### Answer by username_1 on 2021-09-09. Score: 1 | Accepted answer

You may broadcast transactions in *fire and forget* manner. If the fact whether it got into a block or not is not important to you, skipping `awaitTxConfirmed` is not a bad idea.


---

### Answer by username_2 on 2021-09-06. Score: 2

If you don't care whether a transaction has not been added to the ledger, then you can skip `awaitTxConfirmed`. But in that case, do you need to use blockchain in the first place?

What are the timing issues? Why do you have timing issues? What are you trying to accomplish? Do you need confirmation that a transaction has been added to the ledger? What if it hasn't and you're assuming the transaction has been confirmed and you act upon a false assumption?

There's not enough information to give you an answer, but these questions might help you in coming up with your own answer.


---

