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