singleTransactionPlan
Creates a SingleTransactionPlan from a TransactionMessage object.
Type Parameters
| Type Parameter | Default type | 
|---|---|
| TTransactionMessageextendsReadonly<{instructions: readonlyInstruction<string, readonly (/api/functions/ |AccountLookupMeta<string,string> |AccountMeta<string>)[]>[];version:TransactionVersion; }> &TransactionMessageWithFeePayer<string> | Readonly<{instructions: readonlyInstruction<string, readonly (/api/functions/ |AccountLookupMeta<string,string> |AccountMeta<string>)[]>[];version:TransactionVersion; }> &TransactionMessageWithFeePayer<string> | 
Parameters
| Parameter | Type | 
|---|---|
| transactionMessage | TTransactionMessage | 
Returns
SingleTransactionPlan<TTransactionMessage>