sequentialTransactionPlanResult
Creates a divisible SequentialTransactionPlanResult from an array of nested results.
This function creates a sequential result with the divisible property set to true,
indicating that the nested plans were executed sequentially but could have been
split into separate transactions or batches.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TContext extends TransactionPlanResultContext | TransactionPlanResultContext | The type of the context object that may be passed along with successful results |
Parameters
| Parameter | Type | Description |
|---|---|---|
plans | TransactionPlanResult<TContext, Readonly<{ kind: "single"; message: TransactionMessage & TransactionMessageWithFeePayer<string>; status: TransactionPlanResultStatus<TContext>; }>>[] | The child results that were executed sequentially |
Returns
Readonly<{
divisible: boolean;
kind: "sequential";
plans: TransactionPlanResult<TContext, Readonly<{
kind: "single";
message: TransactionMessage & TransactionMessageWithFeePayer<string>;
status: TransactionPlanResultStatus<TContext>;
}>>[];
}> & object