SingleTransactionPlanResult
A result for a single transaction plan.
This represents the execution result of a SingleTransactionPlan and contains the original transaction message along with its execution status.
You may use the successfulSingleTransactionPlanResult, failedSingleTransactionPlanResult, or canceledSingleTransactionPlanResult helpers to create objects of this type.
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 |
TTransactionMessage extends BaseTransactionMessage & TransactionMessageWithFeePayer | BaseTransactionMessage & TransactionMessageWithFeePayer | The type of the transaction message |
Examples
Successful result with a transaction and context.
Failed result with an error.
Canceled result.