pub async fn build_transaction_with_config_obj(
instructions: Vec<Instruction>,
payer: &Pubkey,
address_lookup_tables: Option<Vec<AddressLookupTableAccount>>,
rpc_client: &RpcClient,
config: &BuildTransactionConfig,
) -> Result<VersionedTransaction, String>Expand description
Build a transaction with compute budget and priority fees from the supplied configuration
This function handles:
- Building a transaction message with all instructions
- Adding compute budget instructions
- Adding any Jito tip instructions
- Supporting address lookup tables for account compression