Function transfer_lamports_from_pda

Source
pub fn transfer_lamports_from_pda<'info>(
    from_pda: &AccountInfo<'info>,
    to: &AccountInfo<'info>,
    lamports: u64,
) -> Result<()>
Expand description

Transfers specified lamports from a PDA to a destination account. Throws an error if less than rent remains in the PDA.