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:
- Builds an unsigned transaction with all necessary instructions
- Signs the transaction with all provided signers
- Sends the transaction and waits for confirmation
- Optionally uses address lookup tables for account compression