Skip to main content

Function: callOutcome()

callOutcome(chain): { settled: false; } | { leafTicketId: string; outcome: CallOutcome; settled: true; }

Defined in: packages/orchestration/src/calls/contracts.ts:30

A call's outcome from its chain (root and continuations, oldest first). Unsettled while any live link is open — one parked at its spend ceiling is not — otherwise the leaf decides: the last live link nothing continues.

Parameters​

chain​

readonly CallChainLink[]

Returns​

{ settled: false; } | { leafTicketId: string; outcome: CallOutcome; settled: true; }