Function send_transaction_with_config

Source
pub async fn send_transaction_with_config(
    transaction: VersionedTransaction,
    commitment: Option<CommitmentLevel>,
    rpc_client: &RpcClient,
) -> Result<Signature, String>
Expand description

Send a transaction with retry logic using the supplied configuration

This function handles:

  1. Sending the transaction to the network
  2. Implementing retry logic with exponential backoff
  3. Waiting for transaction confirmation