Function build_memo

Source
pub fn build_memo(
    program_id: &Pubkey,
    memo: &[u8],
    signer_pubkeys: &[&Pubkey],
) -> Instruction
Expand description

Build a memo instruction, possibly signed

Accounts expected by this instruction:

  1. ..0+N [signer] Expected signers; if zero provided, instruction will be processed as a normal, unsigned spl-memo