pub fn transfer(
        &self,
        signer: &dyn Signer,
        destination_wallet: &Pubkey,
        sol_ui_amount: f64,
    ) -> Result<Signature, FarmClientError> {
        let inst =
            self.new_instruction_transfer(&signer.pubkey(), destination_wallet, sol_ui_amount)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
/// Transfers native SOL from the wallet to the destination
Transfers native SOL from the wallet to the destination
Transfers native SOL from the wallet to the destination
pub fn transfer(
        &self,
        signer: &dyn Signer,
        destination_wallet: &Pubkey,
        sol_ui_amount: f64,
    ) -> Result<Signature, FarmClientError> {
        let inst =
            self.new_instruction_transfer(&signer.pubkey(), destination_wallet, sol_ui_amount)?;
        self.sign_and_send_instructions(&[signer], &[inst])
    }
pub fn transfer ( & self , signer : & dyn Signer , destination_wallet : & Pubkey , sol_ui_amount : f64 , ) -> Result < Signature , FarmClientError > { let inst = self . new_instruction_transfer ( & signer . pubkey ( ) , destination_wallet , sol_ui_amount ) ? ; self . sign_and_send_instructions ( & [ signer ] , & [ inst ] ) }
Transfers native SOL from the wallet to the destination
Transfers native SOL from the wallet to the destination
&self
signer
&dyn Signer
destination_wallet
&Pubkey
sol_ui_amount
f64
&self
signer
&dyn Signer
destination_wallet
&Pubkey
sol_ui_amount
f64