Function build_p2id_recipient

Source
pub fn build_p2id_recipient(
    target: AccountId,
    serial_num: Word,
) -> Result<NoteRecipient, NoteError>
Expand description

Creates a NoteRecipient for the P2ID note.

Notes created with this recipient will be P2ID notes consumable by the specified target account.