Skip to main content

unwrap_lamports

Function unwrap_lamports 

Source
pub fn unwrap_lamports(
    token_program_id: &Pubkey,
    account_pubkey: &Pubkey,
    destination_pubkey: &Pubkey,
    authority_pubkey: &Pubkey,
    signer_pubkeys: &[&Pubkey],
    amount: Option<u64>,
) -> Result<Instruction, ProgramError>
Expand description

Creates a UnwrapLamports instruction