corda / net.corda.testing.dsl / TransactionDSLInterpreter / attachment

attachment

abstract fun attachment(attachmentId: SecureHash): Unit

Adds an Attachment reference to the transaction.

Parameters

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