corda / net.corda.core.flows / FlowLogic / waitForLedgerCommit

waitForLedgerCommit

@Suspendable @JvmOverloads fun waitForLedgerCommit(hash: SecureHash, maySkipCheckpoint: Boolean = false): SignedTransaction

Suspends the flow until the transaction with the specified ID is received, successfully verified and sent to the vault for processing. Note that this call suspends until the transaction is considered valid by the local node, but that doesn't imply the vault will consider it relevant.