Class AccountAdjustmentBatchResult

Outcome of engine.applyAccountAdjustment.

On success ok is true, failedIndex is undefined, and outcomes holds the produced outcomes. On rejection ok is false, failedIndex points at the failing adjustment, and rejects is non-empty.

Properties

failedIndex: undefined | number

The index of the failing adjustment, or undefined on success.

ok: boolean

Whether the batch was applied in full.

The produced outcomes, empty on rejection.

rejects: Reject[]

The rejects, empty on success.

Methods

  • Returns void

  • Returns void