corda / net.corda.testing.dsl / TestTransactionDSLInterpreter / attachment

attachment

fun attachment(attachmentId: SecureHash): Unit

Adds an Attachment reference to the transaction.

Parameters

attachmentId - The hash of the attachment, possibly returned by LedgerDSLInterpreter.attachment.