Files
tom goriunovandGitHub 25a4c2a97e Replace OP Superchain feature with generic Multichain explorer (#3299)
* rename feature

* rename evn preset

* types, mocks and stubs renaming

* rename UI components
2026-02-25 18:02:52 +01:00

6 lines
270 B
TypeScript

import type * as multichain from '@blockscout/multichain-aggregator-types';
export default function getAvailableChainIds(data: multichain.GetAddressResponse | undefined) {
return Object.keys(data?.chain_infos ?? {}).filter((chainId) => data?.chain_infos[chainId]);
}