build_p2ide_recipient

Function build_p2ide_recipient 

Source
pub fn build_p2ide_recipient(
    target: AccountId,
    reclaim_block_height: Option<BlockNumber>,
    timelock_block_height: Option<BlockNumber>,
    serial_num: Word,
) -> Result<NoteRecipient, NoteError>
Expand description

Creates a NoteRecipient for the P2IDE note.

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