Skip to content
docs

parseEmulation

parseEmulation(json): EmulationVerdict

Defined in: wallet-ton/src/toncenter.ts:260

Reduce an emulateTrace response to a verdict for the ROOT transaction (the wallet’s own): compute-phase exit code, aborted flag, action-phase success. Tolerant of the field spellings the v3 API has used (description.compute_ph / compute, action.success); anything unrecognisable is a NetworkError, not a silent pass.

unknown

EmulationVerdict