Skip to main content

TransactionResult

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / TransactionResult

Class: TransactionResult

The result status of applying a transaction. Includes an error message if the transaction failed, or partially failed.

Properties​

error?​

readonly optional error: string;

events​

readonly events: Event[];

successfulSegments?​

readonly optional successfulSegments: Map<number, boolean>;

type​

readonly type: "success" | "partialSuccess" | "failure";

Methods​

toString()​

toString(compact?): string;

Parameters​

compact?​

boolean

Returns​

string