Skip to content

@armada/sdk / index / runPreflight

Function: runPreflight()

runPreflight(params): Promise<PreflightResult>

Defined in: src/tx/preflight.ts:83

Run the preflight checks and return a finding per check. Pure orchestration over injected reads: root freshness (the plan's proved root must still be accepted by the pool), input nullifiers not yet spent on-chain, and fee-quote freshness. All on-chain reads run concurrently. Callers inspect findings/ok and decide policy; nothing here proves or submits.

Parameters

params

PreflightParams

Returns

Promise<PreflightResult>