Skip to main content

all_chains_map

Function all_chains_map 

Source
pub fn all_chains_map() -> HashMap<u64, ChainInfo>
Expand description

Return a map of every known chain keyed by its numeric chain ID.

Contains entries for both CoW Protocol supported chains and bridge-only additional target chains. The TypeScript SDK equivalent is ALL_CHAINS_MAP; the Rust version returns a foldhash::HashMap.

ยงReturns

A HashMap<u64, ChainInfo> covering every chain in all_chains.