SuccessfulSingleTransactionPlanResult
A SingleTransactionPlanResult with a 'successful' status.
This type represents a single transaction that was successfully executed. It includes the original planned message and a context object containing the fields from SuccessfulBaseTransactionPlanResultContext — namely a required transaction Signature, and optionally the TransactionMessage and the full Transaction object.
You may use the successfulSingleTransactionPlanResultFromTransaction or successfulSingleTransactionPlanResult helpers to create objects of this type.
Example
Creating a successful result from a transaction.
See
- successfulSingleTransactionPlanResultFromTransaction
- successfulSingleTransactionPlanResult
- isSuccessfulSingleTransactionPlanResult
- assertIsSuccessfulSingleTransactionPlanResult
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. |