abstract fun attachment(attachment: InputStream): SecureHash
Adds an attachment to the ledger.
attachment
- The InputStream defining the contents of the attachment.
Return
The SecureHash that identifies the attachment, to be used in transactions.