diff --git a/packages/js/src/plugins/rfqModule/operations/revertSettlementPreparation.ts b/packages/js/src/plugins/rfqModule/operations/revertSettlementPreparation.ts index cdbadd3cf..de6799cf4 100644 --- a/packages/js/src/plugins/rfqModule/operations/revertSettlementPreparation.ts +++ b/packages/js/src/plugins/rfqModule/operations/revertSettlementPreparation.ts @@ -105,11 +105,27 @@ export const revertSettlementPreparationOperationHandler: OperationHandler b.toTransaction(latestBlockhash)); + const signedTxs = await convergence.identity().signAllTransactions(txs); + let output: SendAndConfirmTransactionResponse | undefined; + for (const signedTx of signedTxs) { + output = await convergence.rpc().serializeAndSendTransaction(signedTx); + } + if (!output) { + throw new Error('No transaction was sent'); + } + return { response: output }; }, };