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. That context defaults to
TransactionPlanResultContextWithSignature — a required transaction Signature,
and optionally the TransactionMessage and the full Transaction object — but a
different TContext may drop the signature requirement entirely.
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 | TransactionPlanResultContextWithSignature | 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. |