pub async fn send_and_confirm_transactions_in_parallel<T: Signers + ?Sized>(
    rpc_client: Arc<RpcClient>,
    tpu_client: Option<TpuClient<QuicPool, QuicConnectionManager, QuicConfig>>,
    messages: &[Message],
    signers: &T,
    config: SendAndConfirmConfig
) -> Result<Vec<Option<TransactionError>>>
Expand description

Sends and confirms transactions concurrently

The sending and confirmation of transactions is done in parallel tasks The method signs transactions just before sending so that blockhash does not expire.