pub fn write_attachment_commitments_to_memory() -> Vec<Word>
Returns the attachment commitments of the active note.
The name mirrors the kernel procedure, which fills the buffer this function returns.