Skip to main content

TransactionResult

For the complete documentation index, see llms.txt

@midnight/ledger v8.0.3


@midnight/ledger / TransactionResult

Class: TransactionResult

트랜잭션 적용 결과 상태입니다. 트랜잭션이 실패하거나 부분적으로 실패한 경우 오류 메시지를 포함합니다.

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