Skip to main content

Function: getAllSupportedChains()

getAllSupportedChains(): EquitoChain[]

A list of all supported chains.

Returns

EquitoChain[]

An array of objects, each containing the chain selector and names for a supported chain.

Example

const chains = getAllSupportedChains();
console.log(chains);
// [
// { chainSelector: 1, names: ["ethereum", "eth"], image: "images/ethereum.svg" },
// { chainSelector: 2, names: ["bsc", "bnb"], image: "images/bsc.svg" },
// ...
// ]

Defined in

supported-chains/index.ts:50