TransactionResult
@midnight-ntwrk/ledger v3.0.2 β’ Readme | API
@midnight-ntwrk/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