nonDivisibleSequentialTransactionPlan
Creates a non-divisible SequentialTransactionPlan 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 (/api/functions/ | AccountLookupMeta <string , string > | AccountMeta <string >)[]>[]; version : TransactionVersion ; }> & TransactionMessageWithFeePayer <string > | TransactionPlan )[] |
Returns
Readonly
<{
divisible
: boolean
;
kind
: "sequential"
;
plans
: TransactionPlan
[];
}> & object
Examples
Using explicit SingleTransactionPlans.
Using TransactionMessages directly.