Function useSquidChains

  • React hook to get the list of supported chains from the squid API

    Parameters

    • Optional supportedEVMChainIds: {
          [chainId: number]: boolean;
      }
      • [chainId: number]: boolean
    • enabled: boolean = true

    Returns SWRResponse<SquidChain[], any, undefined | Partial<PublicConfiguration<SquidChain[], any, BareFetcher<SquidChain[]>>>>