pub fn send_transfers(
        &mut self,
        transfers: impl Into<Vec<Transfer>>,
        seed: &str,
        options: SendTransferOptions<'_, '_, '_>,
    ) -> Result<Vec<Transaction>> {
        let transfers = transfers.into();
        let trytes = self.prepare_transfers(
            seed,
            transfers,
            PrepareTransfersOptions {
                inputs: options.inputs,
                remainder_address: options.remainder_address,
                security: options.security,
                hmac_key: options.hmac_key,
            },
        )?;
        let t = self.send_trytes(
            &trytes,
            SendTrytesOptions {
                depth: options.depth,
                min_weight_magnitude: options.min_weight_magnitude,
                local_pow: options.local_pow,
                threads: options.threads,
                reference: options.reference,
            },
        )?;
        Ok(t)
    }
/// Prepares and sends a slice of transfers
/// This helper does everything for you, PoW and such
///
/// * `transfers` - A slice of transfers to send
/// * `seed` - The wallet seed to use
/// * `depth` - The depth to search when looking for transactions to approve
/// * `min_weight_magnitude` - The PoW difficulty factor (14 on mainnet, 9 on testnet)
/// * `local_pow` - Whether or not to do local PoW
/// * `options` - See `SendTransferOptions`
Prepares and sends a slice of transfers
This helper does everything for you, PoW and such


Prepares and sends a slice of transfers This helper does everything for you PoW and such
pub fn send_transfers(
        &mut self,
        transfers: impl Into<Vec<Transfer>>,
        seed: &str,
        options: SendTransferOptions<'_, '_, '_>,
    ) -> Result<Vec<Transaction>> {
        let transfers = transfers.into();
        let trytes = self.prepare_transfers(
            seed,
            transfers,
            PrepareTransfersOptions {
                inputs: options.inputs,
                remainder_address: options.remainder_address,
                security: options.security,
                hmac_key: options.hmac_key,
            },
        )?;
        let t = self.send_trytes(
            &trytes,
            SendTrytesOptions {
                depth: options.depth,
                min_weight_magnitude: options.min_weight_magnitude,
                local_pow: options.local_pow,
                threads: options.threads,
                reference: options.reference,
            },
        )?;
        Ok(t)
    }
pub fn send_transfers ( & mut self , transfers : impl Into < Vec < Transfer > > , seed : & str , options : SendTransferOptions < ' _ , ' _ , ' _ > , ) -> Result < Vec < Transaction > > { let transfers = transfers . into ( ) ; let trytes = self . prepare_transfers ( seed , transfers , PrepareTransfersOptions { inputs : options . inputs , remainder_address : options . remainder_address , security : options . security , hmac_key : options . hmac_key , } , ) ? ; let t = self . send_trytes ( & trytes , SendTrytesOptions { depth : options . depth , min_weight_magnitude : options . min_weight_magnitude , local_pow : options . local_pow , threads : options . threads , reference : options . reference , } , ) ? ; Ok ( t ) }
Prepares and sends a slice of transfers
This helper does everything for you, PoW and such
Prepares and sends a slice of transfers This helper does everything for you PoW and such
&mut self
transfers
impl Into<Vec<Transfer>>
seed
&str
options
SendTransferOptions<'_, '_, '_>