@pwngh/economy-lab
    Preparing search index...

    Function encodeOutcome

    • The wire shape of an Outcome. A rejected outcome carries both the typed detail (branded Amounts and bigints become decimal strings) and a top-level reason derived from detail.reason — HTTP clients live outside the type system, so the wire keeps the harmless duplicate for stability even though detail.reason is the sole discriminant in TypeScript.

      Parameters

      Returns unknown