Skip to main content

Function: getByChainSelector()

getByChainSelector(chainSelector): EquitoChain

Returns the chain information, including names or aliases, associated with a specific chain selector.

Parameters

chainSelector: number

The selector value for the chain.

Returns

EquitoChain

An object containing the chain selector, names, and image associated with the chain.

Throws

Throws an error if the chain selector is invalid or not found.

Defined in

supported-chains/index.ts:69