net.corda.core.node.services / VaultService / addNoteToTransaction

# addNoteToTransaction

`abstract fun addNoteToTransaction(txnId: SecureHash, noteText: String): Unit`

Add a note to an existing LedgerTransaction given by its unique SecureHash id Multiple notes may be attached to the same LedgerTransaction. These are additively and immutably persisted within the node local vault database in a single textual field using a semi-colon separator