create_note

Function create_note 

Source
pub fn create_note(
    asset: CoreAsset,
    tag: Tag,
    note_type: NoteType,
    recipient: Recipient,
) -> NoteId
Expand description

Creates a new note. asset is the asset to be included in the note. tag is the tag to be included in the note. recipient is the recipient of the note. Returns the id of the created note.