1

Let's say I lock some ADA at a script address. Someone who knows the redeemer value can unlock this ADA. Is it possible to include a redeeming tx in the same block as the tx which locks the ADA at the script address? Provided that the script tx was first in the mempool? Or is it necessary to wait at least for 1 confirmation before the ADA can be unlocked from the script address?

1 Answer 1

2

If the first output is in the mempool, you can use it in a subsequent transaction without the node throwing an error. However, there is no assurance that both transactions will be part of the same block.

2
  • When would be such case that both the transactions wouldn't be included in the same block? For example under heavy blockchain load?
    – et97
    Commented Jul 2, 2022 at 2:42
  • I'm not sure of the exact scenario, I believe it works like first come first serve basis, so all trxs in mempool may not fit in one block Commented Jul 2, 2022 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.