@midnight/ledger v3.0.2 • Readme | API
@midnight/ledger v3.0.2 / TransactionResult
Class: TransactionResult
The result status of applying a transaction. Includes an error message if the transaction failed, or partially failed.
Constructors
new TransactionResult()
private new TransactionResult(): TransactionResult
Returns
Properties
error?
optional readonly error: string;
type
readonly type: "success" | "partialSuccess" | "failure";
Methods
toString()
toString(compact?): string
Parameters
• compact?: boolean
Returns
string