Skip to main content

Module chain

Module chain 

Source

Structs§

Chain
A specific chain (e.g. “ethereum”, “arbitrum”) with its family type and CAIP-2 ID.

Enums§

ChainType

Constants§

ALL_CHAIN_TYPES
All supported chain families, used for universal wallet derivation.
KNOWN_CHAINS
Known chains registry.

Functions§

default_chain_for_type
Returns the default Chain for a given ChainType (first match in registry).
parse_chain
Parse a chain string into a Chain. Accepts: