com.r3corda.core.testing / 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.