parallelTransactionPlan
Creates a ParallelTransactionPlan from an array of nested plans.
It can accept TransactionMessage objects directly, which will be wrapped in SingleTransactionPlans automatically.
Parameters
| Parameter | Type |
|---|---|
plans | ( | Readonly<{ instructions: readonly Instruction<string, readonly ( | AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> & TransactionMessageWithFeePayer<string> | TransactionPlan)[] |
Returns
Examples
Using explicit SingleTransactionPlans.
Using TransactionMessages directly.