submitAndWaitForTransaction

suspend fun submitAndWaitForTransaction(submission: CommandSubmission): TransactionOuterClass.Transaction

Submits submission, waits for it to be committed, and returns the resulting transaction (flat/ACS-delta shape, filtered to the submitting parties). Retries reuse the same command id.

Throws

if the submission ultimately fails.