appendTransactionMessageInstructions
Given an array of instructions, this method will return a new transaction message with those instructions having been added to the end of the list of existing instructions.
Type Parameters
| Type Parameter | 
|---|
| TTransactionMessageextendsReadonly<{instructions: readonlyInstruction<string, readonly (AccountLookupMeta<string,string> |AccountMeta<string>)[]>[];version:TransactionVersion; }> | 
| TInstructionsextends readonlyInstruction<string, readonly (AccountLookupMeta<string,string> |AccountMeta<string>)[]>[] | 
Parameters
| Parameter | Type | 
|---|---|
| instructions | TInstructions | 
| transactionMessage | TTransactionMessage | 
Returns
AppendTransactionMessageInstructions<TTransactionMessage, TInstructions>
See
appendTransactionInstruction if you only need to append one instruction to a transaction message.