Class AccountAdjustmentBatchResult

Outcome of engine.applyAccountAdjustment.

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

Properties

accountBlocks: AccountBlock[]

The account blocks reported after the accepted batch commits.

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