This guide will walk you through how to submit multiple transactions with sequential nonces using the Enclave MPC API.
In some cases, you might want to submit multiple transactions that will be processed in sequence by the network. This is useful for scenarios like batch operations or when you need to ensure transactions are processed in a specific order. Here’s how to submit multiple transactions with sequential nonces.
All transactions will enter the mempool but may not be processed immediately
Transactions will be processed in nonce order, regardless of submission time
If a transaction with a lower nonce fails, subsequent transactions will remain pending
Consider adding delays between submissions to prevent rate limiting
Make sure your wallet has sufficient funds to cover all transactions
If any transaction in the sequence fails due to insufficient funds or other errors, subsequent transactions with higher nonces will remain pending until the issue is resolved.