TransactionPlanResult
The result of executing a transaction plan.
This is structured as a recursive tree of results that mirrors the structure of the original transaction plan, capturing the execution status at each level.
Namely, the following result types are supported:
- SingleTransactionPlanResult - A result for a single transaction message containing its execution status.
- ParallelTransactionPlanResult - A result containing other results that were executed in parallel.
- SequentialTransactionPlanResult - A result containing other results that were executed sequentially. It also retains the divisibility property from the original plan.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TContext extends TransactionPlanResultContext | TransactionPlanResultContext | The type of the context object that may be passed along with results |
TTransactionMessage extends TransactionMessage & TransactionMessageWithFeePayer | TransactionMessage & TransactionMessageWithFeePayer | The type of the transaction message |
TSingle extends SingleTransactionPlanResult<TContext, TTransactionMessage> | SingleTransactionPlanResult<TContext, TTransactionMessage> | The type of single transaction plan results in this tree |