Skip to main content

transfer_lamports

Function transfer_lamports 

Source
pub fn transfer_lamports<'info>(
    from: &AccountInfo<'info>,
    to: &AccountInfo<'info>,
    lamports: u64,
) -> Result<()>