pub async fn build_and_send_transaction<S: Signer>(
instructions: Vec<Instruction>,
signers: &[&S],
commitment: Option<CommitmentLevel>,
address_lookup_tables: Option<Vec<AddressLookupTableAccount>>,
) -> Result<Signature, String>Expand description
Build and send a transaction using the global 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