CanceledSingleTransactionPlanResult
A SingleTransactionPlanResult with a 'canceled' status.
This type represents a single transaction whose execution was canceled before it could complete. It includes the original planned message and a context object containing the fields from BaseTransactionPlanResultContext — namely optional TransactionMessage, Signature, and Transaction fields that may or may not be populated depending on how far execution progressed before cancellation.
You may use the canceledSingleTransactionPlanResult helper to create objects of this type.
Example
Creating a canceled result from a transaction message.
See
- canceledSingleTransactionPlanResult
- isCanceledSingleTransactionPlanResult
- assertIsCanceledSingleTransactionPlanResult
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TContext extends TransactionPlanResultContext | TransactionPlanResultContext | The type of the context object that may be passed along with the result. |
TTransactionMessage extends TransactionMessage & TransactionMessageWithFeePayer | TransactionMessage & TransactionMessageWithFeePayer | The type of the transaction message. |