TransactionPlanResultSummary

type TransactionPlanResultSummary<TContext, TTransactionMessage> = Readonly<{
  canceledTransactions: CanceledSingleTransactionPlanResult<TContext, TTransactionMessage>[];
  failedTransactions: FailedSingleTransactionPlanResult<TContext, TTransactionMessage>[];
  successful: boolean;
  successfulTransactions: SuccessfulSingleTransactionPlanResult<TContext, TTransactionMessage>[];
}>;

A summary of a TransactionPlanResult, categorizing transactions by their execution status.

  • successful: Indicates whether all transactions were successful (i.e., no failed or canceled transactions).
  • successfulTransactions: An array of successful transactions, each including its signature.
  • failedTransactions: An array of failed transactions, each including the error that caused the failure.
  • canceledTransactions: An array of canceled transactions.

Type Parameters

On this page