corda / net.corda.testing.dsl / LedgerDSL / transaction

transaction

@JvmOverloads fun transaction(label: String? = null, transactionBuilder: TransactionBuilder = TransactionBuilder(notary = notary), dsl: TransactionDSL<TransactionDSLInterpreter>.() -> EnforceVerifyOrFail): WireTransaction

Creates and adds a transaction to the ledger.