Function build_and_send_transaction_with_config

Source
pub async fn build_and_send_transaction_with_config<S: Signer>(
    instructions: Vec<Instruction>,
    signers: &[&S],
    commitment: Option<CommitmentLevel>,
    address_lookup_tables: Option<Vec<AddressLookupTableAccount>>,
    rpc_client: &RpcClient,
    rpc_config: &RpcConfig,
    fee_config: &FeeConfig,
) -> Result<Signature, String>
Expand description

Build and send a transaction using the supplied configuration

This function:

  1. Builds an unsigned transaction with all necessary instructions
  2. Signs the transaction with all provided signers
  3. Sends the transaction and waits for confirmation
  4. Optionally uses address lookup tables for account compression