fun <ERROR CLASS>.transaction(notary: <ERROR CLASS> = TestIdentity.fresh("transaction notary").party, script: TransactionDSL<TransactionDSLInterpreter>.() -> EnforceVerifyOrFail): <ERROR CLASS>
Creates a ledger with a single transaction, built by the passed in dsl.
See Also