@somnia-chain/markets-sdk / index / HubPreflightInput
Interface: HubPreflightInput
Defined in: preflight.ts:116
Inputs for the hub-step preflight: the hub's on-chain status (from
OracleHubAdmin.getHubStatus, or the subset a caller already holds) and
whether the connected chain supports the reactivity precompile (local anvil
does NOT). Unlike the retired adapter step, the armed state IS cheaply
readable on-chain (subscriptionId != 0).
Properties
status
status:
Pick<HubStatus,"approved"|"subscriptionId"|"balanceWei">
Defined in: preflight.ts:118
The subset of HubStatus the check needs.
precompileAvailable
precompileAvailable:
boolean
Defined in: preflight.ts:121
Whether the connected chain has the Somnia reactivity precompile (false on local anvil).