0%
SupportReinforced Transactions
Can Reinforced Transactions Handle Concurrent Transactions?

Can Reinforced Transactions Handle Concurrent Transactions?

Written by Author headshotKilliane Menand
Published on October 9, 20241 min read

Reinforced Transactions provide enhanced reliability and speed for sending blockchain transactions, but you might wonder how they handle concurrent transactions - sending multiple transactions before earlier ones are confirmed.

Yes, Reinforced Transactions can support concurrent transactions. However, itโ€™s important to understand that we do not manage nonce assignment. When using Reinforced Transactions, you send fully signed and encoded transaction payloads, including the assigned nonce, via the same eth_sendRawTransaction method you would use in any regular transaction.

You can send multiple concurrent transactions with sequential nonces. For example:

  1. You send Transaction 1 with nonce X.

  2. Before Transaction 1 is confirmed, you send Transaction 2 with nonce X+1.

This process will work as long as the transactions have sequential nonces and are correctly signed and encoded. Reinforced Transactions will ensure that these transactions are propagated and mined efficiently, but managing the nonce is the responsibility of the user.

Nonce management is crucial to ensure that your transactions are processed in the correct order. If you send two transactions with the same nonce (a nonce clash), only one will be accepted, and the other will be rejected. Reinforced Transactions do not manage this aspect; therefore, itโ€™s essential to ensure that each transaction is correctly sequenced with the proper nonce.

Reinforced Transactions support concurrent transactions, but you must handle nonce management to avoid clashes. As long as you send sequential nonces, Alchemy will ensure these transactions are efficiently propagated and mined.

๐Ÿ“˜ For more information on getting started with Reinforced Transactions, visit our Reinforced Transactions Documentation.

Was this article helpful?
Share:
Banner background image

Not finding what you need?