@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / PreflightResult

Interface: PreflightResult

Defined in: packages/sdk/src/preflight.ts:31

The uniform result every validator returns. ok is blockers.length === 0.

Properties

ok

ok: boolean

Defined in: packages/sdk/src/preflight.ts:33

True when there are no blockers (blockers.length === 0); warnings don't affect it.


blockers

blockers: string[]

Defined in: packages/sdk/src/preflight.ts:38

Conditions that STOP the step — the on-chain write would revert or produce a dead market. Human-readable, ready to render as-is.


warnings

warnings: string[]

Defined in: packages/sdk/src/preflight.ts:40

Advisory notices — the step can proceed, but the operator should know.