@somnia-chain/markets-sdk / chains / getBridgeNetwork
Function: getBridgeNetwork()
getBridgeNetwork(
chainId):BridgeNetworkDetails|null
Defined in: packages/sdk/src/chains/bridge/registry.ts:289
The Hyperlane core deployment on one network — mailbox, ISM, hooks — plus the tokens it carries.
ts
import { ChainId, getBridgeNetwork } from "@somnia-chain/markets-sdk/chains";
getBridgeNetwork(ChainId.hidekiTestnet)?.mailbox;
getBridgeNetwork(ChainId.somniaMainnet); // null — not bridged yet
Parameters
chainId
number
Chain id to look up.
Returns
BridgeNetworkDetails | null
The network's bridge deployment, or null if it isn't bridged.