fun addAttachment(attachmentId: AttachmentId): TransactionBuilder
Adds an attachment with the specified hash to the TransactionBuilder.