mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* rename feature * rename evn preset * types, mocks and stubs renaming * rename UI components
6 lines
270 B
TypeScript
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]);
|
|
}
|