@somnia-chain/markets-sdk / index / isLocalPrecompileUnavailable
Function: isLocalPrecompileUnavailable()
isLocalPrecompileUnavailable(
chainId):boolean
Defined in: preflight.ts:280
True when a chain id belongs to a network WITHOUT the Somnia reactivity
precompile — i.e. a local anvil/hardhat dev chain (31337 / 1337), where
enableReactivity / triggerRoll cannot work. Somnia testnet/mainnet return
false. Use to fill the precompileAvailable flag the validators take.
Parameters
chainId
number
Returns
boolean